summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-12-13 15:07:52 +0100
committerDavid Seifert <soap@gentoo.org>2018-12-13 15:07:52 +0100
commite47f0847b07adb2e6d9bb0f3b1bd491c6f3535fa (patch)
tree6dbc4f7304501814d1c33191f7259adb08749667 /sci-biology
parentapp-admin/rsyslog: fix omusrmsg (diff)
downloadgentoo-e47f0847b07adb2e6d9bb0f3b1bd491c6f3535fa.tar.gz
gentoo-e47f0847b07adb2e6d9bb0f3b1bd491c6f3535fa.tar.bz2
gentoo-e47f0847b07adb2e6d9bb0f3b1bd491c6f3535fa.zip
sci-biology/bamtools: Bump to EAPI 7
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/bamtools/bamtools-2.5.1.ebuild22
-rw-r--r--sci-biology/bamtools/bamtools-9999.ebuild22
2 files changed, 12 insertions, 32 deletions
diff --git a/sci-biology/bamtools/bamtools-2.5.1.ebuild b/sci-biology/bamtools/bamtools-2.5.1.ebuild
index 038ed14beb08..84c9dc837233 100644
--- a/sci-biology/bamtools/bamtools-2.5.1.ebuild
+++ b/sci-biology/bamtools/bamtools-2.5.1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
inherit cmake-utils multibuild
DESCRIPTION="A programmer's API and an end-user's toolkit for handling BAM files"
@@ -24,8 +23,8 @@ IUSE="static-libs"
RDEPEND="
>=dev-libs/jsoncpp-1.8.0:=
sys-libs/zlib:="
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] &&
@@ -44,17 +43,8 @@ src_prepare() {
src_configure() {
my_configure() {
- case "${MULTIBUILD_ID}" in
- static*)
- local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
- ;;
- shared)
- local mycmakeargs=( -DBUILD_SHARED_LIBS=ON )
- ;;
- *)
- die "${MULTIBUILD_ID} is not recognized"
- ;;
- esac
+ [[ ${MULTIBUILD_ID} == static-libs* ]] &&
+ local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
cmake-utils_src_configure
}
diff --git a/sci-biology/bamtools/bamtools-9999.ebuild b/sci-biology/bamtools/bamtools-9999.ebuild
index 038ed14beb08..84c9dc837233 100644
--- a/sci-biology/bamtools/bamtools-9999.ebuild
+++ b/sci-biology/bamtools/bamtools-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
inherit cmake-utils multibuild
DESCRIPTION="A programmer's API and an end-user's toolkit for handling BAM files"
@@ -24,8 +23,8 @@ IUSE="static-libs"
RDEPEND="
>=dev-libs/jsoncpp-1.8.0:=
sys-libs/zlib:="
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] &&
@@ -44,17 +43,8 @@ src_prepare() {
src_configure() {
my_configure() {
- case "${MULTIBUILD_ID}" in
- static*)
- local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
- ;;
- shared)
- local mycmakeargs=( -DBUILD_SHARED_LIBS=ON )
- ;;
- *)
- die "${MULTIBUILD_ID} is not recognized"
- ;;
- esac
+ [[ ${MULTIBUILD_ID} == static-libs* ]] &&
+ local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
cmake-utils_src_configure
}