diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-08-22 21:37:17 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-08-22 21:37:17 +0200 |
commit | 946948c8d23cfdc67d6f877730a5a6986fdf94c7 (patch) | |
tree | aa77a40cd222721a0162a6568e9166202f79c292 /sci-biology | |
parent | sci-biology/velvet: Port to EAPI 8 (diff) | |
download | gentoo-946948c8d23cfdc67d6f877730a5a6986fdf94c7.tar.gz gentoo-946948c8d23cfdc67d6f877730a5a6986fdf94c7.tar.bz2 gentoo-946948c8d23cfdc67d6f877730a5a6986fdf94c7.zip |
sci-biology/plink: Port to EAPI 8
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/plink/plink-1.90_pre140514.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sci-biology/plink/plink-1.90_pre140514.ebuild b/sci-biology/plink/plink-1.90_pre140514.ebuild index 578881ac0f59..2595c3ab7983 100644 --- a/sci-biology/plink/plink-1.90_pre140514.ebuild +++ b/sci-biology/plink/plink-1.90_pre140514.ebuild @@ -1,36 +1,36 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit toolchain-funcs DESCRIPTION="Whole genome association analysis toolset" HOMEPAGE="http://pngu.mgh.harvard.edu/~purcell/plink/" SRC_URI="http://pngu.mgh.harvard.edu/~purcell/static/bin/plink140514/plink_src.zip -> ${P}.zip" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" sys-libs/zlib virtual/cblas virtual/lapack " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" app-arch/unzip virtual/pkgconfig " -S="${WORKDIR}/" - # Package collides with net-misc/putty. Renamed to p-link following discussion with Debian. # Package contains bytecode-only jar gPLINK.jar. Ignored, notified upstream. src_prepare() { + default + sed \ -e 's:zlib-1.2.8/zlib.h:zlib.h:g' \ -i *.{c,h} || die @@ -47,6 +47,7 @@ src_compile() { emake \ CXX=$(tc-getCXX) \ CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ ZLIB="$($(tc-getPKG_CONFIG) --libs zlib)" \ BLASFLAGS="$($(tc-getPKG_CONFIG) --libs lapack cblas)" } |