diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-12-28 21:02:49 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-12-28 21:08:36 +0100 |
commit | 087966e83658833cb4b436d828c3c0d3519cd5e4 (patch) | |
tree | cf240ccd06efe58adf0dc780895ed5762f64e532 /dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild | |
parent | dev-perl/Bio-Graphics: Remove old (diff) | |
download | gentoo-087966e83658833cb4b436d828c3c0d3519cd5e4.tar.gz gentoo-087966e83658833cb4b436d828c3c0d3519cd5e4.tar.bz2 gentoo-087966e83658833cb4b436d828c3c0d3519cd5e4.zip |
dev-perl/Bio-SamTools: Version bump; remove old
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild')
-rw-r--r-- | dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild b/dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild new file mode 100644 index 000000000000..68d73836cb3d --- /dev/null +++ b/dev-perl/Bio-SamTools/Bio-SamTools-1.420.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=LDS +DIST_VERSION=1.42 +inherit perl-module toolchain-funcs + +DESCRIPTION="Read SAM/BAM database files" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +LICENSE="|| ( Apache-2.0 Artistic-2 GPL-1+ )" + +RDEPEND=" + >=sci-biology/bioperl-1.6.9 + >=sci-biology/samtools-1 +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-CBuilder + >=dev-perl/Module-Build-0.420.0 +" + +DIST_TEST=skip +# cannot load its own library, fundamentally b0rken + +PATCHES=( + "${FILESDIR}"/${PN}-1.390.0-samtools-1.patch +) + +src_prepare() { + find . -type f -exec chmod +w '{}' + || die + sed \ + -e 's|my $HeaderFile = "bam.h";|my $HeaderFile = "bam/bam.h";|' \ + -e 's|my $LibFile = "libbam.a";|my $LibFile = "libbam.so";|' \ + -i Build.PL || die + sed \ + -e 's|#include "bam.h"|#include "bam/bam.h"|' \ + -e 's|#include "sam.h"|#include "bam/sam.h"|' \ + -e 's|#include "khash.h"|#include "htslib/khash.h"|' \ + -e 's|#include "faidx.h"|#include "htslib/faidx.h"|' \ + -i lib/Bio/DB/Sam.xs c_bin/bam2bedgraph.c || die + + perl-module_src_prepare + + tc-export CC +} |