commit:     be81909256c71d238243efde2f27c55e4595e7cf
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 15:48:34 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 15:49:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be819092

sci-biology/kalign: Modernise to EAPI 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/kalign/kalign-2.03-r2.ebuild | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

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 0000000000..0693f82344
--- /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
+}

Reply via email to