aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-biology/bamql/Manifest2
-rw-r--r--sci-biology/bamql/bamql-1.6.ebuild (renamed from sci-biology/bamql/bamql-1.5.ebuild)15
-rw-r--r--sci-biology/bamql/bamql-9999.ebuild11
3 files changed, 21 insertions, 7 deletions
diff --git a/sci-biology/bamql/Manifest b/sci-biology/bamql/Manifest
index 984d254f7..37ee319f9 100644
--- a/sci-biology/bamql/Manifest
+++ b/sci-biology/bamql/Manifest
@@ -1 +1 @@
-DIST bamql-1.5.tar.gz 64857 BLAKE2B 264653e2caffb7d82bb765eb6bcc5c4b4d25f0abda7c0baf5cbf92f656bc2a46a0d615c503e60ab95fda27862ab1590f4c8314f9d796b41ce665d10833d921ac SHA512 f2c690f6ad91c28c5993d385038e355d4cffbf1ee783cbf81a8459c2786d4406de0f310cc5f9d4abe9dc59bdd7a41442597fd5b34e7cc8db1af7bc9bd0ef089f
+DIST bamql-1.6.tar.gz 63935 BLAKE2B 9e49878f47ff316e22a1c60f06a4e3b0472276a5d51dbc4d9569435b24d8d7e4f5433580a06bb3e9cc8c5c2e92408da665addb694806f49e97e1f276f52d0ec1 SHA512 7b3208f1afd08131f7e1223251fe6b13d60a2970d55daf82c7c3153d6f707ff71bad774b5e9da5def797fd260902916c82c12dd32c26051e5af92fd0457e9414
diff --git a/sci-biology/bamql/bamql-1.5.ebuild b/sci-biology/bamql/bamql-1.6.ebuild
index ef78e3753..535b31f44 100644
--- a/sci-biology/bamql/bamql-1.5.ebuild
+++ b/sci-biology/bamql/bamql-1.6.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools
+inherit autotools eutils
DESCRIPTION="Extract reads from BAM files"
HOMEPAGE="https://github.com/BoutrosLaboratory/bamql
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-016-1162-y"
-SRC_URI="https://github.com/BoutrosLaboratory/bamql/archive/v1.5.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/BoutrosLaboratory/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static-libs"
DEPEND="
sys-devel/llvm:=
@@ -26,3 +26,10 @@ src_prepare(){
eautoreconf
default
}
+
+src_configure(){
+ local mycmakeargs=()
+ use static-libs && mycmakeargs+=( "--enable-static=yes" "--enable-static-llvm=yes" ) || \
+ mycmakeargs+=( "--enable-static=no" "--enable-static-llvm=no" )
+ econf ${mycmakeargs[@]}
+}
diff --git a/sci-biology/bamql/bamql-9999.ebuild b/sci-biology/bamql/bamql-9999.ebuild
index 44a7d85f5..409804dc7 100644
--- a/sci-biology/bamql/bamql-9999.ebuild
+++ b/sci-biology/bamql/bamql-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/BoutrosLaboratory/bamql.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="static-libs"
DEPEND="
sys-devel/llvm:=
@@ -26,3 +26,10 @@ src_prepare(){
eautoreconf
default
}
+
+src_configure(){
+ local mycmakeargs=()
+ use static-libs && mycmakeargs+=( "--enable-static=yes" "--enable-static-llvm=yes" ) || \
+ mycmakeargs+=( "--enable-static=no" "--enable-static-llvm=no" )
+ econf ${mycmakeargs[@]}
+}