1 |
commit: be81909256c71d238243efde2f27c55e4595e7cf |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 25 15:48:34 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 25 15:49:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be819092 |
7 |
|
8 |
sci-biology/kalign: Modernise to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sci-biology/kalign/kalign-2.03-r2.ebuild | 34 ++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 34 insertions(+) |
14 |
|
15 |
diff --git a/sci-biology/kalign/kalign-2.03-r2.ebuild b/sci-biology/kalign/kalign-2.03-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..0693f82344 |
18 |
--- /dev/null |
19 |
+++ b/sci-biology/kalign/kalign-2.03-r2.ebuild |
20 |
@@ -0,0 +1,34 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Global and progressive multiple sequence alignment" |
30 |
+HOMEPAGE="http://msa.cgb.ki.se/" |
31 |
+SRC_URI="mirror://debian/pool/main/k/kalign/${PN}_${PV}.orig.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+IUSE="" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+ |
38 |
+S=${WORKDIR}/${PN} |
39 |
+ |
40 |
+src_prepare() { |
41 |
+ default |
42 |
+ sed \ |
43 |
+ -e "s/\$(CFLAGS) \$(OBJECTS)/\$(LDFLAGS) &/" \ |
44 |
+ -i Makefile.in || die |
45 |
+} |
46 |
+ |
47 |
+src_compile() { |
48 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ dobin ${PN} |
53 |
+ einstalldocs |
54 |
+} |