You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/bamtools/bamtools-2.4.2.ebuild

36 lines
818 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
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:=
sys-libs/zlib:="
DEPEND="${RDEPEND}
virtual/pkgconfig"
mycmakeargs=( -DBUILD_SHARED_LIBS=ON )
src_prepare() {
# delete bundled libs, just to be safe
rm -r src/third_party/{gtest-1.6.0,jsoncpp} || die
cmake-utils_src_prepare
}