summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-29 17:29:52 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-29 17:29:52 +0000
commitd60ee7cd4055f6508424effbc3586b0e286a5945 (patch)
treef266cb617c705c2f3dac39ed8d63d39e5933fb57 /sci-biology/samtools
parentAdd first version without java support. Needs work. (diff)
downloadhistorical-d60ee7cd4055f6508424effbc3586b0e286a5945.tar.gz
historical-d60ee7cd4055f6508424effbc3586b0e286a5945.tar.bz2
historical-d60ee7cd4055f6508424effbc3586b0e286a5945.zip
sci-biology/samtools: Install bcftools and vcfutils.pl pointed out by mahnmut
Package-Manager: portage-2.2.0_alpha169/cvs/Linux x86_64 Manifest-Sign-Key: 0x8009D6F070EB7916
Diffstat (limited to 'sci-biology/samtools')
-rw-r--r--sci-biology/samtools/ChangeLog7
-rw-r--r--sci-biology/samtools/Manifest11
-rw-r--r--sci-biology/samtools/samtools-0.1.18-r3.ebuild56
3 files changed, 68 insertions, 6 deletions
diff --git a/sci-biology/samtools/ChangeLog b/sci-biology/samtools/ChangeLog
index 239b011da57c..444e7cb5b803 100644
--- a/sci-biology/samtools/ChangeLog
+++ b/sci-biology/samtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/samtools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.11 2013/03/11 16:56:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.12 2013/03/29 17:29:49 jlec Exp $
+
+*samtools-0.1.18-r3 (29 Mar 2013)
+
+ 29 Mar 2013; Justin Lecher <jlec@gentoo.org> +samtools-0.1.18-r3.ebuild:
+ Install bcftools and vcfutils.pl pointed out by mahnmut
11 Mar 2013; Justin Lecher <jlec@gentoo.org> metadata.xml:
Drop Andrey as maintainer so that bugs get assigned to sci-biology directly
diff --git a/sci-biology/samtools/Manifest b/sci-biology/samtools/Manifest
index 0b1ec94305f9..0d04a85e2ab0 100644
--- a/sci-biology/samtools/Manifest
+++ b/sci-biology/samtools/Manifest
@@ -1,17 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
DIST samtools-0.1.12a.tar.bz2 355633 SHA256 377ed5cd2a4bb2b1ad572ca6fcafdd8ed644b67f01ab00fa020618fac11e59ac
DIST samtools-0.1.18.tar.bz2 379306 SHA256 f3faaf34430d4782956562eb72906289e8e34d44d0c4d73837bdbeead7746b16 SHA512 fab570e0604f68046bb71a151b816315aeeeafbc970070f9b131975fe8fcf6ca0b5e02693bbde047bbe4d1500f6ff244d3d952219f69d5798af77ce9a3b643e3 WHIRLPOOL 6a430161ef382a501130436735495d3e97200b1018b3a77f5d367248d64179f2da7e84863a6699bdcff9d422d5c14a3f3f12d26a34a6a9e70d9ce4a358cb3f49
EBUILD samtools-0.1.12.ebuild 803 SHA256 352173d51993cbe61f3058330ed3accf0c2b9e79f0bc70e87f95c3824efca84c SHA512 23407c898e2566eb8f12410fd2003596424715071c5d22569fa80d7ea7151de3c7ef4d792c075efb58f33fb398796118c8aa2763f2629a94afd2d349ac344840 WHIRLPOOL 59379955b9d2161c9453ceaaadb7649c05a30a1e46f16c30157a18e98f71337edee264cc6b941a80d7bd21f784f8769da2271e19fede0f313f523e098501927b
EBUILD samtools-0.1.18-r2.ebuild 1382 SHA256 db689819d4a35b1722f403f9993fb42cd194eefa43dc203cd6a998fea0ec718e SHA512 6f360834da77872adc5ea2f951f508277031b871ce2f902b3b9172fcd54ed74f38c00e0f104c135b77495a973797ca5230c60adb8adb3d676f0cf78a5499bbf9 WHIRLPOOL 888ffdbf94719a63aaf63e020749a6b00b224b4817cb5fbc4cc190c3fe9123fdb07b900295f2cdef0948b75abd862f56f5bcf6ed7860a7fb2e5a5f600fe537e9
+EBUILD samtools-0.1.18-r3.ebuild 1392 SHA256 4527a342df6e2dc51e3d00735aee7dd44d11fb8bc6a97963705edda54802328e SHA512 cb4f742b2e8405eeeb5eb2747279f84136f73b08a65903cbb2285bef965ca5eb0d3c505d3e15fae99db37f7b5784fe000f67d5284541494175eb9ad7da496971 WHIRLPOOL ff2b06e11fa8ca441979b1619f297405183d20e59bb234a08db836c28e8541dc341998bf72899863f17b7547d6c2052b4f1d24c04548a81f19064b8fad1eeea3
EBUILD samtools-0.1.18.ebuild 1257 SHA256 6d5f5ccb99180e5b9291d10f135be7b56a5361742e96af572f9cee9fe6ce2256 SHA512 a631a89a12771ee033ecd43a4e75f3b147078977685afb3a3a8a6fcd6685e8420709c62bc46273a364407c4c414409145a5b50d4acd74600a97e7ae5bb4708ac WHIRLPOOL 61a9d56717a525a742ba7bde36fd54678fdfc34709fb5e93ec7864913db7ec3c0be824f884694e8817f9a22ae1ec8cde1f6dd6ebbb29a3280600e481d343f4b5
-MISC ChangeLog 2274 SHA256 ffcaf70dc0f6b5ec9c0cbce7cdcdfc47279b6c00f49ccad85e71b1b95833d622 SHA512 ede1545c800e46637c7c9bf85a0aa09355c535f9d7d4bfccd3f0a8908bd4d10dba031d9c4d53a796d778631f480053a5b55bf7d375f06e688f6455ebe51b3f65 WHIRLPOOL 352d89b744ab98648c5acc3012d32c87212d13dd4464c16c524c656ececea52f6119bafbdb1910c3a3225b750fb08a4e3774565ead293ac07a24b47b10f5140b
+MISC ChangeLog 2443 SHA256 ad7c4eaccf2ef1ad3b7790f384d57f14da76a0da218f29a7a5cf5f0c4192e6a9 SHA512 60654aae57f173196c034b1e9f8584cd6f290b25e09d33a92529845c1d0140675e129682d6569ddb0739c5aae3a764048b736a38cae3d6105b09b11b2c262f9f WHIRLPOOL e873ab3db7e3b0c1d228a3e0d933b7daf51c7fc07193a208aeed0ff604d14d43b7869f492f860184649cd787a9a183ff2b08a3a51baeaf06ab2eba53d16f1cd6
MISC metadata.xml 166 SHA256 29b228f683c71345323d841414e410c929a320f34536eb30910498728260c8ac SHA512 51c5345bb1c4466b73e2feac8895c64fc119365e7f2c156702f4c93664d3aba028b3da9daaabf24f61a88220345fca7806771a252e8ae906cac5dec97862c7e0 WHIRLPOOL 211bf955d94fc1d93b12388a2c597a8d440fb5d78f84d59b2549569537098c3525b1fbab707441d62fabe20edcac2fd9ebe09c5d9870f1c9558d7ee90d5db5b3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlE+DK0ACgkQgAnW8HDreRZhqgCdGsqjP6QEhj1YBOCd9KSLA+Xx
-7v4Anj8nXc01voZtb2PNkHikRMc/IE4l
-=R0Sm
+iEYEAREKAAYFAlFVz48ACgkQgAnW8HDreRaluQCbBywMfnPqKErxtRTI0tfpCLI1
+JUQAn3ul/I2VN1OGXCWVc0msy6eg0Nm1
+=fmiv
-----END PGP SIGNATURE-----
diff --git a/sci-biology/samtools/samtools-0.1.18-r3.ebuild b/sci-biology/samtools/samtools-0.1.18-r3.ebuild
new file mode 100644
index 000000000000..3c4c954309dc
--- /dev/null
+++ b/sci-biology/samtools/samtools-0.1.18-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.18-r3.ebuild,v 1.1 2013/03/29 17:29:49 jlec Exp $
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments"
+HOMEPAGE="http://samtools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed \
+ -e '/^CC/s:=:?=:g' \
+ -e "/^LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \
+ -e '/^CFLAGS=/s:=:?=:' \
+ -e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \
+ -e "s/-shared/& \$(LDFLAGS)/" \
+ -i "${S}"/{bcftools,misc,}/Makefile || die #358563
+ sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die
+
+ tc-export CC
+}
+
+src_compile() {
+ emake dylib
+ emake
+}
+
+src_install() {
+ dobin samtools $(find bcftools misc -type f -executable)
+
+ dolib.so libbam.so.1
+ dosym libbam.so.1 /usr/$(get_libdir)/libbam.so
+
+ insinto /usr/include/bam
+ doins bam.h bgzf.h faidx.h kaln.h khash.h kprobaln.h kseq.h ksort.h sam.h
+
+ doman ${PN}.1
+ dodoc AUTHORS ChangeLog NEWS
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r examples
+ fi
+}