mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user