summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-25 16:48:34 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-25 16:49:07 +0100
commitbe81909256c71d238243efde2f27c55e4595e7cf (patch)
treea7c23493fe5cbed6fe2062c4d9084cc2579e6352 /sci-biology/kalign
parentsci-biology/exonerate: Modernise to EAPI 6 (diff)
downloadgentoo-be81909256c71d238243efde2f27c55e4595e7cf.tar.gz
gentoo-be81909256c71d238243efde2f27c55e4595e7cf.tar.bz2
gentoo-be81909256c71d238243efde2f27c55e4595e7cf.zip
sci-biology/kalign: Modernise to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-biology/kalign')
-rw-r--r--sci-biology/kalign/kalign-2.03-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
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
+}