diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2011-09-26 15:18:39 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2011-09-26 15:18:39 +0000 |
commit | 95d7e6b99398035546ba07d841a74ec38eca7aee (patch) | |
tree | c3b301281722dc97ee83e6a0933b8ef4c83c27aa /sci-biology/samtools | |
parent | Version bump. Added new enigmail version to seamonkey-2.3.3-r1 (diff) | |
download | gentoo-2-95d7e6b99398035546ba07d841a74ec38eca7aee.tar.gz gentoo-2-95d7e6b99398035546ba07d841a74ec38eca7aee.tar.bz2 gentoo-2-95d7e6b99398035546ba07d841a74ec38eca7aee.zip |
Version bump
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/samtools')
-rw-r--r-- | sci-biology/samtools/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/samtools/samtools-0.1.18.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/sci-biology/samtools/ChangeLog b/sci-biology/samtools/ChangeLog index 99890c78a18f..bafb11674633 100644 --- a/sci-biology/samtools/ChangeLog +++ b/sci-biology/samtools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-biology/samtools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.7 2011/07/18 01:50:51 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.8 2011/09/26 15:18:39 weaver Exp $ + +*samtools-0.1.18 (26 Sep 2011) + + 26 Sep 2011; Andrey Kislyuk <weaver@gentoo.org> +samtools-0.1.18.ebuild: + Version bump *samtools-0.1.17 (18 Jul 2011) diff --git a/sci-biology/samtools/samtools-0.1.18.ebuild b/sci-biology/samtools/samtools-0.1.18.ebuild new file mode 100644 index 000000000000..40147cfdd0ef --- /dev/null +++ b/sci-biology/samtools/samtools-0.1.18.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 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.ebuild,v 1.1 2011/09/26 15:18:39 weaver Exp $ + +EAPI=4 + +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" + +src_prepare() { + sed \ + -e '/^CFLAGS=/d' \ + -e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \ + -e "s/-shared/& \$(LDFLAGS)/" \ + -i "${S}"/{Makefile,misc/Makefile} || die #358563 + sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die +} + +src_compile() { + emake CC="$(tc-getCC)" dylib || die + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin samtools $(find 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 +} |