diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2011-02-18 05:05:41 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2011-02-18 05:05:41 +0000 |
commit | ec493b8c4b525488034ac71ece452a7ff8c2a1ad (patch) | |
tree | 998ebcf11b363c44ac47cd6c7c7cfaf5e9c85664 | |
parent | Add make.defaults to n32 profiles to set LIBDIR to the correct location. (diff) | |
download | gentoo-2-ec493b8c4b525488034ac71ece452a7ff8c2a1ad.tar.gz gentoo-2-ec493b8c4b525488034ac71ece452a7ff8c2a1ad.tar.bz2 gentoo-2-ec493b8c4b525488034ac71ece452a7ff8c2a1ad.zip |
Address bug 354941, build library, correct versioning
(Portage version: 2.2_rc86/cvs/Linux x86_64)
-rw-r--r-- | sci-biology/samtools/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/samtools/samtools-0.1.12a.ebuild | 39 |
2 files changed, 45 insertions, 1 deletions
diff --git a/sci-biology/samtools/ChangeLog b/sci-biology/samtools/ChangeLog index f259132426fd..614bee7692bd 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.3 2011/02/17 09:05:13 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/ChangeLog,v 1.4 2011/02/18 05:05:41 weaver Exp $ + +*samtools-0.1.12a (18 Feb 2011) + + 18 Feb 2011; Andrey Kislyuk <weaver@gentoo.org> +samtools-0.1.12a.ebuild: + Address bug 354941, build library, correct versioning 17 Feb 2011; Thomas Kahle <tomka@gentoo.org> samtools-0.1.12.ebuild: x86 stable per bug 353566 diff --git a/sci-biology/samtools/samtools-0.1.12a.ebuild b/sci-biology/samtools/samtools-0.1.12a.ebuild new file mode 100644 index 000000000000..48b79b7e30aa --- /dev/null +++ b/sci-biology/samtools/samtools-0.1.12a.ebuild @@ -0,0 +1,39 @@ +# 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.12a.ebuild,v 1.1 2011/02/18 05:05:41 weaver Exp $ + +EAPI="2" + +DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments" +HOMEPAGE="http://${PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -i 's/^CFLAGS=/CFLAGS+=/' "${S}"/{Makefile,misc/Makefile} || die + sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die +} + +src_compile() { + emake dylib || die + emake || die +} + +src_install() { + dobin samtools || die + dobin $(find misc -type f -executable) || die + dolib.so libbam.so.1 || die + insinto /usr/include/bam + doins bam.h bgzf.h faidx.h kaln.h khash.h kprobaln.h kseq.h ksort.h sam.h|| die + insinto /usr/share/${PN} + doins -r examples || die + doman ${PN}.1 || die + dodoc AUTHORS ChangeLog NEWS +} |