diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/plink/plink-1.07-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/plink/plink-1.07-r1.ebuild')
-rw-r--r-- | sci-biology/plink/plink-1.07-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/plink/plink-1.07-r1.ebuild b/sci-biology/plink/plink-1.07-r1.ebuild new file mode 100644 index 000000000000..3e1d4d5b0b43 --- /dev/null +++ b/sci-biology/plink/plink-1.07-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Whole genome association analysis toolset" +HOMEPAGE="http://pngu.mgh.harvard.edu/~purcell/plink/" +SRC_URI="http://pngu.mgh.harvard.edu/~purcell/plink/dist/${P}-src.zip" + +LICENSE="GPL-2" +SLOT="0" +IUSE="lapack -webcheck R" +KEYWORDS="amd64 x86" + +DEPEND=" + app-arch/unzip + lapack? ( virtual/pkgconfig )" +RDEPEND=" + sys-libs/zlib + lapack? ( virtual/lapack )" + +S="${WORKDIR}/${P}-src" + +# 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() { + epatch \ + "${FILESDIR}"/${PV}-flags.patch \ + "${FILESDIR}"/${P}-gcc47.patch + use webcheck || sed -i '/WITH_WEBCHECK =/ s/^/#/' "${S}/Makefile" || die + use R || sed -i '/WITH_R_PLUGINS =/ s/^/#/' "${S}/Makefile" || die + use lapack || sed -i '/WITH_LAPACK =/ s/^/#/' "${S}/Makefile" || die + tc-export PKG_CONFIG +} + +src_compile() { + emake \ + CXX_UNIX=$(tc-getCXX) +} + +src_install() { + newbin plink p-link + dodoc README.txt +} |