mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Update done using: ``` git grep -l sys-libs/zlib dev-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
33 lines
771 B
Bash
33 lines
771 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
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:=
|
|
virtual/zlib:="
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
# delete bundled libs, just to be safe
|
|
rm -rf src/third_party/{gtest-1.6.0,jsoncpp} || die
|
|
|
|
cmake_src_prepare
|
|
}
|