commit:     806d5e4ebca3f285986f2e1e0f1125f835fdf196
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 17:43:04 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 17:43:04 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=806d5e4e

Revert "Revert "sci-biology/bcftools: new package: compiles against bundled 
sci-libs/htslib-1.1 but does not install it""

This reverts commit 1ed8090c989cf72046e206e4daaf02222c4029a5.

---
 sci-biology/bcftools/ChangeLog           | 10 ++++++++++
 sci-biology/bcftools/bcftools-1.1.ebuild | 26 ++++++++++++++++++++++++++
 sci-biology/bcftools/metadata.xml        |  9 +++++++++
 3 files changed, 45 insertions(+)

diff --git a/sci-biology/bcftools/ChangeLog b/sci-biology/bcftools/ChangeLog
new file mode 100644
index 0000000..4e0a781
--- /dev/null
+++ b/sci-biology/bcftools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-biology/bcftools
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*bcftools-1.1 (14 Jan 2015)
+
+  14 Jan 2015; Martin Mokrejs <mmokr...@fold.natur.cuni.cz>
+  +bcftools-1.1.ebuild, +metadata.xml:
+  sci-biology/bcftools: new package: compiles against bundled sci-
+  libs/htslib-1.1 but does not install it

diff --git a/sci-biology/bcftools/bcftools-1.1.ebuild 
b/sci-biology/bcftools/bcftools-1.1.ebuild
new file mode 100644
index 0000000..e3f446f
--- /dev/null
+++ b/sci-biology/bcftools/bcftools-1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files"
+HOMEPAGE="http://www.htslib.org/bcftools_release_notes";
+SRC_URI="http://sourceforge.net/projects/samtools/files/samtools/1.1/bcftools-1.1.tar.bz2";
+
+LICENSE="MIT-GRL"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="sci-libs/htslib
+       dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+       sed -e 's#prefix      = /usr/local#prefix      = /usr#' \
+               -e 's@CFLAGS   = -g -Wall -Wc++-compat -O2@#CFLAGS   = -g -Wall 
-Wc++-compat -O2@' -i Makefile
+
+       sed -e 's#prefix      = /usr/local#prefix      = /usr#' \
+               -e 's@CFLAGS   = -g -Wall -Wc++-compat -O2@#CFLAGS   = -g -Wall 
-Wc++-compat -O2@' -i htslib-1.1/Makefile
+}

diff --git a/sci-biology/bcftools/metadata.xml 
b/sci-biology/bcftools/metadata.xml
new file mode 100644
index 0000000..2bc8930
--- /dev/null
+++ b/sci-biology/bcftools/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>sci-biology</herd>
+  <maintainer>
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to