summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-biology/bamtools/Manifest1
-rw-r--r--sci-biology/bamtools/bamtools-2.4.2.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/sci-biology/bamtools/Manifest b/sci-biology/bamtools/Manifest
index f276fed11520..45492cd4dca2 100644
--- a/sci-biology/bamtools/Manifest
+++ b/sci-biology/bamtools/Manifest
@@ -1 +1,2 @@
DIST bamtools-2.4.1.tar.gz 540482 SHA256 933a0c1a83c88c1dac8078c0c0e82f6794c75cb927265399404bc2cc2611204b SHA512 ee674014f27b2dc0aa7c0415e8654ee7c39cfdecafbd9983d970fad6ad29f070a7ff372ee05765956cf7c8f8bb3b9763b6e537e693a0d2d64680148b1a23cfee WHIRLPOOL 6ef73f0713ebf993123eac7095061e32fe6a53db383e28a5dd8967afee92fb211ce56611de9718ce4cce84bdee14157ff968e0a6edcaead4e06b44008b78b84c
+DIST bamtools-2.4.2.tar.gz 548095 SHA256 04165bf8a7566f4be1a6e68f69bfdd9f08364ba7b0d2f6687302434641408102 SHA512 244a63609c0b10a85bba7cac210a27ea9abafba136e9c91fc789c7aa21a6cdaa7622afebc50ec8d30d4446872d5206dbd3d679ca03e95ac90771c87359cb69a0 WHIRLPOOL e1ed40d1ec47cbe97c4de160671f34095bf56f5786ebcc0cf7fb7b5e4b129d9c562b1cf19fb1d22e3ef20fa21d45f1fe50640b9d9919c01fabed044f82c9c2de
diff --git a/sci-biology/bamtools/bamtools-2.4.2.ebuild b/sci-biology/bamtools/bamtools-2.4.2.ebuild
new file mode 100644
index 000000000000..e6daa8262028
--- /dev/null
+++ b/sci-biology/bamtools/bamtools-2.4.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A programmer's API and an end-user's toolkit for handling BAM files"
+HOMEPAGE="https://github.com/pezmaster31/bamtools"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/pezmaster31/bamtools.git"
+else
+ SRC_URI="https://github.com/pezmaster31/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV}" # no stable ABI yet
+
+RDEPEND="
+ >=dev-libs/jsoncpp-1.8.0:=
+ sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+
+mycmakeargs=( -DBUILD_SHARED_LIBS=ON )