diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-19 11:31:13 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-19 11:31:13 +0000 |
commit | aea19c08fa3e1839b1fd881520b17fd9dde5d3ed (patch) | |
tree | 3cc8b84ce0b0c3926275158ce97fb47ceb31fe6e /sci-biology/vcftools | |
parent | Remove older unstable and buggy versions (diff) | |
download | historical-aea19c08fa3e1839b1fd881520b17fd9dde5d3ed.tar.gz historical-aea19c08fa3e1839b1fd881520b17fd9dde5d3ed.tar.bz2 historical-aea19c08fa3e1839b1fd881520b17fd9dde5d3ed.zip |
sci-biology/vcftools: Version BUmp, fix build system
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/vcftools')
-rw-r--r-- | sci-biology/vcftools/ChangeLog | 8 | ||||
-rw-r--r-- | sci-biology/vcftools/Manifest | 22 | ||||
-rw-r--r-- | sci-biology/vcftools/files/vcftools-0.1.8-buildsystem.patch | 50 | ||||
-rw-r--r-- | sci-biology/vcftools/vcftools-0.1.8.ebuild | 47 |
4 files changed, 117 insertions, 10 deletions
diff --git a/sci-biology/vcftools/ChangeLog b/sci-biology/vcftools/ChangeLog index aa0c44d7c6cb..27ec7612ae59 100644 --- a/sci-biology/vcftools/ChangeLog +++ b/sci-biology/vcftools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-biology/vcftools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/vcftools/ChangeLog,v 1.3 2012/01/02 21:51:52 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/vcftools/ChangeLog,v 1.4 2012/07/19 11:31:13 jlec Exp $ + +*vcftools-0.1.8 (19 Jul 2012) + + 19 Jul 2012; Justin Lecher <jlec@gentoo.org> +vcftools-0.1.8.ebuild, + +files/vcftools-0.1.8-buildsystem.patch: + Version BUmp, fix build system *vcftools-0.1.7 (02 Jan 2012) diff --git a/sci-biology/vcftools/Manifest b/sci-biology/vcftools/Manifest index e69164e6f34f..4ffa860871a9 100644 --- a/sci-biology/vcftools/Manifest +++ b/sci-biology/vcftools/Manifest @@ -1,14 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -DIST vcftools_0.1.7.tar.gz 489145 RMD160 c5d3eb9056b7dfde526b32af86ec690ff6b12375 SHA1 57687ba59a94de97b156062f4c1f4c006b8a1d8e SHA256 e40685f082aef92511a80af723cb813b87773537eb4fed630716682e8c80a4c0 -EBUILD vcftools-0.1.7.ebuild 904 RMD160 4b283a92fe9c12bbf688babc135f48cf2d7b341f SHA1 c2c55854166e9e0f7ef04d3def35a919c4c3896d SHA256 8387dc4756bce66f6a59888e7d340340dd4b48a5af02f9a2bbbf0778892f7d52 -MISC ChangeLog 638 RMD160 73cc8e726b92ea7d9f6272676d3917ee3a865ae7 SHA1 cde3309e1f2990d3b50366ccc829c987a0c5f1bc SHA256 12496ddd98d1fe2ca3441c61f6b6e4d1bb126e444350076fcd1ad667f660612a -MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110 +AUX vcftools-0.1.8-buildsystem.patch 1161 SHA256 d414e300b18857cb4440d1a4587a9335ba1238d9a6ab1b232098586160ad145d SHA512 faaa57e20b29bf7ef5818f104d2be25a54b9b1cfd9f20df0325cf500f73fd693728f6f59fd2f6b6bec30f9c7c0b4301fe4fad364f833776feea47df018b27a4a WHIRLPOOL 45649955d5fbc3b761e7b2c3a83a4c27588b42a54fe23662eacb6f9c7e419ee25c50a05c2a5cb9d4cb0e1f82dffbe5d2aacf70cd8f53de6401cd10da9519b0d7 +DIST vcftools_0.1.7.tar.gz 489145 SHA256 e40685f082aef92511a80af723cb813b87773537eb4fed630716682e8c80a4c0 SHA512 130304d7c4c0058d4547d04f4e52e75c5562ef7c636b7c788654a00f300da15d12eb5d66e94c2e764049275d242b7ce05bfa7f3beb99c857c5d84d26009ea329 WHIRLPOOL 9bf171456b6d2902b4ed5dfc47cb84b2c6615a647c7c04e215a1592bcaa29edb87bbc5fede57df4a68549bc03284eb8800e821c6336e56e11f4d61e98f98827c +DIST vcftools_0.1.8.tar.gz 568268 SHA256 bf360b315181b2f06c85a19c1ce1c539ecce81f187f4da9ae7f8616300573a61 SHA512 5dc35d8adaea16716e5383427c9458fcf965cee1feb980f8ade166ae67403c7f1ae4d74d1218f23c4032187588834f801ea602d86fe94033dc922fe3f58f0c04 WHIRLPOOL ca9a9448bafee8a0c27752e7a6c18c8050b55f9402c072ee313bcb9bd85c2369e2f76f339429c317b37e5a889472667a4e3fc7b3ba9fb221932022e7c997da37 +EBUILD vcftools-0.1.7.ebuild 904 SHA256 8387dc4756bce66f6a59888e7d340340dd4b48a5af02f9a2bbbf0778892f7d52 SHA512 24e5e8ec18b3341f5a6181dd0e72e2767f8397ad7937458773ccc39b12c3574df32d84173ce0e64fdc5eeb372cbaf5553054d40ada7e25dbe9333c5db71621a4 WHIRLPOOL 8a0e5ee710ed6a0373776208d154d8eb1c842e49b8a33d7d0df80dcbb5070a32197f0456d1bd36e886dd0333c29ab9bc0c47c01b8579bbbf78defda77f4040af +EBUILD vcftools-0.1.8.ebuild 1062 SHA256 9ab8408310dbf0520ecc3c6e35dc327df58203a321e767451e2cb1658af16562 SHA512 1b6a3ee68273715b3f2b54ad6a469430868c08cd951b1c19bbf428f05e051c037aa437cc8b27a9895e03027e8576e1e6e71d904cbe2afed764d8c9f618c8d701 WHIRLPOOL f9f46dc379e0404629af0eb2242f5ca5a6f0322a381d014093be6c4ba90888fabb848183da294cde6e1098f0b15e33706a2bd21920c77d56971e986cebf075db +MISC ChangeLog 815 SHA256 cd8ff2968161a3f723cff00e8a4f77c7c874391379a394bf4b9eb3f09f7b8ddd SHA512 89b36622d1164ddbd7f8bc1a054a6f550fb5d00bb4e95be92c237fc05636b22054fc6d9739f39eb0340cc36493faf9aff9ee805bbe5ce27f1ce85ace52049f6e WHIRLPOOL 3f8912ad2c9700b37ac8e88e8a7a123b2ac57c8202b65d81d76ea4450de9e6e97b6ab18ec094c336ab3e75199858e9f125f4cf68c8f6d4aaf2b7cc2bc96d8a40 +MISC metadata.xml 259 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110 SHA512 c3aea4d69d75075af0108a03b7e109cfed6a1fe324f8ccbda3d4e5ca8a5070f1b24ddeb46b64787e10fd22252d867abcee1f31316d602f7e32fe3c990ae60d74 WHIRLPOOL e50da2f26fd4c908446d22da3edb595d60e61d72def374be46440358802a211fc34045b7ad970c4f94b57f7b17ff24cfe64dc94254fea20e047f1fbbbcae0c64 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.11 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) +Comment: GPGTools - http://gpgtools.org -iEYEARECAAYFAk8CJv0ACgkQ8xSwyhbn2OaiEwCeKHW5xUlgChXyShkClk6mcXCf -Rt4Anjm4M527m9DAXbu8eZzhBPT6g7cb -=flzt +iEYEAREIAAYFAlAH8AYACgkQgAnW8HDreRYT7gCgn9k/pQK4cmyD5omZFM2Qj2qg +vWcAniWvYhVGOVaYW94ha1s6C3eNX24X +=Pluy -----END PGP SIGNATURE----- diff --git a/sci-biology/vcftools/files/vcftools-0.1.8-buildsystem.patch b/sci-biology/vcftools/files/vcftools-0.1.8-buildsystem.patch new file mode 100644 index 000000000000..37caee9c28dd --- /dev/null +++ b/sci-biology/vcftools/files/vcftools-0.1.8-buildsystem.patch @@ -0,0 +1,50 @@ + cpp/Makefile | 16 +++++++++++----- + 1 files changed, 11 insertions(+), 5 deletions(-) + +diff --git a/cpp/Makefile b/cpp/Makefile +index 42d03e4..2f4d4f6 100644 +--- a/cpp/Makefile ++++ b/cpp/Makefile +@@ -3,7 +3,7 @@ + # ($Revision: 1.1 $) + + # Compiler +-CPP = g++ ++CPP ?= g++ + # Output executable + EXECUTABLE = vcftools + # Flag used to turn on compilation of PCA routines +@@ -11,7 +11,7 @@ ifndef VCFTOOLS_PCA + VCFTOOLS_PCA = 0 + endif + # Compiler flags +-CPPFLAGS = -O2 -Wall -Wextra ++CPPFLAGS = -Wall -Wextra + #CPPFLAGS = -g + # Included libraries (zlib) + LIB = -lz +@@ -28,15 +28,21 @@ ifeq ($(VCFTOOLS_PCA), 1) + # Define flag for PCA routine compilation + CPPFLAGS += -DVCFTOOLS_PCA + # Add LAPACK library +- LIB += -llapack ++ LIB += `pkg-config --libs lapack` + # Add PCA source code + SOURCES += dgeev.cpp + endif + ++objects := $(patsubst %.cpp,%.o,$(SOURCES)) ++ + all: vcftools + +-vcftools: $(SOURCES) +- $(CPP) $(CPPFLAGS) $(SOURCES) -o $@ $(LIB) ++vcftools: $(objects) ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(objects) -o $@ $(LIB) ++ ++.cpp.o: $(SOURCES) ++ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -o $@ $< ++ + ifdef BINDIR + cp $(CURDIR)/$@ $(BINDIR)/$@ + endif diff --git a/sci-biology/vcftools/vcftools-0.1.8.ebuild b/sci-biology/vcftools/vcftools-0.1.8.ebuild new file mode 100644 index 000000000000..b378d7823283 --- /dev/null +++ b/sci-biology/vcftools/vcftools-0.1.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/vcftools/vcftools-0.1.8.ebuild,v 1.1 2012/07/19 11:31:13 jlec Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +MY_P="${PN}_${PV}" + +DESCRIPTION="Tools for working with VCF (Variant Call Format) files" +HOMEPAGE="http://vcftools.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="lapack" + +RDEPEND="virtual/lapack" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-buildsystem.patch + tc-export CXX +} + +src_compile() { + local myconf + use lapack && myconf="VCFTOOLS_PCA=1" + emake -C cpp ${myconf} +} + +src_install(){ + dobin cpp/${PN} + insinto /usr/share/${PN}/perl + doins perl/*.pm + exeinto /usr/share/${PN}/perl + doexe perl/{fill,vcf}-* + echo 'COLON_SEPARATED=PERL5LIB' > "${S}/99${PN}" + echo "PERL5LIB=/usr/share/${PN}/perl" >> "${S}/99${PN}" + doenvd "${S}/99${PN}" + dodoc README.txt +} |