1 |
commit: 946948c8d23cfdc67d6f877730a5a6986fdf94c7 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sun Aug 22 19:37:17 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 22 19:37:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946948c8 |
7 |
|
8 |
sci-biology/plink: Port to EAPI 8 |
9 |
|
10 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-biology/plink/plink-1.90_pre140514.ebuild | 13 +++++++------ |
14 |
1 file changed, 7 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/plink/plink-1.90_pre140514.ebuild b/sci-biology/plink/plink-1.90_pre140514.ebuild |
17 |
index 578881ac0f5..2595c3ab798 100644 |
18 |
--- a/sci-biology/plink/plink-1.90_pre140514.ebuild |
19 |
+++ b/sci-biology/plink/plink-1.90_pre140514.ebuild |
20 |
@@ -1,36 +1,36 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=8 |
26 |
|
27 |
inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="Whole genome association analysis toolset" |
30 |
HOMEPAGE="http://pngu.mgh.harvard.edu/~purcell/plink/" |
31 |
SRC_URI="http://pngu.mgh.harvard.edu/~purcell/static/bin/plink140514/plink_src.zip -> ${P}.zip" |
32 |
+S="${WORKDIR}" |
33 |
|
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="" |
38 |
|
39 |
RDEPEND=" |
40 |
sys-libs/zlib |
41 |
virtual/cblas |
42 |
virtual/lapack |
43 |
" |
44 |
-DEPEND=" |
45 |
- ${RDEPEND} |
46 |
+DEPEND="${RDEPEND}" |
47 |
+BDEPEND=" |
48 |
app-arch/unzip |
49 |
virtual/pkgconfig |
50 |
" |
51 |
|
52 |
-S="${WORKDIR}/" |
53 |
- |
54 |
# Package collides with net-misc/putty. Renamed to p-link following discussion with Debian. |
55 |
# Package contains bytecode-only jar gPLINK.jar. Ignored, notified upstream. |
56 |
|
57 |
src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
sed \ |
61 |
-e 's:zlib-1.2.8/zlib.h:zlib.h:g' \ |
62 |
-i *.{c,h} || die |
63 |
@@ -47,6 +47,7 @@ src_compile() { |
64 |
emake \ |
65 |
CXX=$(tc-getCXX) \ |
66 |
CFLAGS="${CFLAGS}" \ |
67 |
+ LDFLAGS="${LDFLAGS}" \ |
68 |
ZLIB="$($(tc-getPKG_CONFIG) --libs zlib)" \ |
69 |
BLASFLAGS="$($(tc-getPKG_CONFIG) --libs lapack cblas)" |
70 |
} |