sci-biology/bamtools: Add live ebuild
authorDavid Seifert <soap@gentoo.org>
Thu, 2 Nov 2017 03:19:37 +0000 (04:19 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 2 Nov 2017 03:19:37 +0000 (04:19 +0100)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

sci-biology/bamtools/bamtools-9999.ebuild [new file with mode: 0644]

diff --git a/sci-biology/bamtools/bamtools-9999.ebuild b/sci-biology/bamtools/bamtools-9999.ebuild
new file mode 100644 (file)
index 0000000..e6daa82
--- /dev/null
@@ -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 )