From: David Seifert Date: Sat, 25 Feb 2017 15:48:34 +0000 (+0100) Subject: sci-biology/kalign: Modernise to EAPI 6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be81909256c71d238243efde2f27c55e4595e7cf;p=gentoo.git sci-biology/kalign: Modernise to EAPI 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/sci-biology/kalign/kalign-2.03-r2.ebuild b/sci-biology/kalign/kalign-2.03-r2.ebuild new file mode 100644 index 000000000000..0693f823448d --- /dev/null +++ b/sci-biology/kalign/kalign-2.03-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Global and progressive multiple sequence alignment" +HOMEPAGE="http://msa.cgb.ki.se/" +SRC_URI="mirror://debian/pool/main/k/kalign/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/${PN} + +src_prepare() { + default + sed \ + -e "s/\$(CFLAGS) \$(OBJECTS)/\$(LDFLAGS) &/" \ + -i Makefile.in || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin ${PN} + einstalldocs +}