diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /sci-biology/bamtools/bamtools-9999.ebuild | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'sci-biology/bamtools/bamtools-9999.ebuild')
-rw-r--r-- | sci-biology/bamtools/bamtools-9999.ebuild | 22 |
1 files changed, 6 insertions, 16 deletions
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 } |