summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2011-07-20 00:43:13 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2011-07-20 00:43:13 +0000
commit862fcaf1aeb0ef2fd12be0bc91ac7aa3a67bcdf2 (patch)
tree8d1b304d3c08ec1fa5dcdcb06bf65e0c4602edfa /dev-perl/Bio-SamTools
parentBug #375635 - Replace 'hasq' with 'has'. (diff)
downloadgentoo-2-862fcaf1aeb0ef2fd12be0bc91ac7aa3a67bcdf2.tar.gz
gentoo-2-862fcaf1aeb0ef2fd12be0bc91ac7aa3a67bcdf2.tar.bz2
gentoo-2-862fcaf1aeb0ef2fd12be0bc91ac7aa3a67bcdf2.zip
New package, ebuild written by me, dependency of sci-biology/GBrowse
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Bio-SamTools')
-rw-r--r--dev-perl/Bio-SamTools/Bio-SamTools-1.29.ebuild31
-rw-r--r--dev-perl/Bio-SamTools/ChangeLog10
-rw-r--r--dev-perl/Bio-SamTools/metadata.xml13
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-perl/Bio-SamTools/Bio-SamTools-1.29.ebuild b/dev-perl/Bio-SamTools/Bio-SamTools-1.29.ebuild
new file mode 100644
index 000000000000..44499cf50933
--- /dev/null
+++ b/dev-perl/Bio-SamTools/Bio-SamTools-1.29.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.29.ebuild,v 1.1 2011/07/20 00:43:13 weaver Exp $
+
+EAPI=4
+
+MODULE_AUTHOR="LDS"
+inherit perl-module
+
+DESCRIPTION="Read SAM/BAM database files"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sci-biology/bioperl
+ virtual/perl-ExtUtils-CBuilder
+ virtual/perl-Module-Build
+ sci-biology/samtools"
+RDEPEND="${DEPEND}"
+
+SRC_TEST=do
+
+src_prepare() {
+ sed -i -e 's|my $HeaderFile = "bam.h";|my $HeaderFile = "bam/bam.h";|' \
+ -e 's|my $LibFile = "libbam.a";|my $LibFile = "libbam.so";|' Build.PL || die
+ sed -i -e 's|#include "bam.h"|#include "bam/bam.h"|' \
+ -e 's|#include "khash.h"|#include "bam/khash.h"|' \
+ -e 's|#include "faidx.h"|#include "bam/faidx.h"|' lib/Bio/DB/Sam.xs || die
+ perl-module_src_prepare
+}
diff --git a/dev-perl/Bio-SamTools/ChangeLog b/dev-perl/Bio-SamTools/ChangeLog
new file mode 100644
index 000000000000..35caf5caf1c7
--- /dev/null
+++ b/dev-perl/Bio-SamTools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/Bio-SamTools
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/ChangeLog,v 1.1 2011/07/20 00:43:13 weaver Exp $
+
+*Bio-SamTools-1.29 (20 Jul 2011)
+
+ 20 Jul 2011; Andrey Kislyuk <weaver@gentoo.org> +Bio-SamTools-1.29.ebuild,
+ +metadata.xml:
+ New package, ebuild written by me, dependency of sci-biology/GBrowse
+
diff --git a/dev-perl/Bio-SamTools/metadata.xml b/dev-perl/Bio-SamTools/metadata.xml
new file mode 100644
index 000000000000..b0bab53dd025
--- /dev/null
+++ b/dev-perl/Bio-SamTools/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <herd>perl</herd>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Bio-SamTools</remote-id>
+ </upstream>
+</pkgmetadata>