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-1.0.2.ebuild

34 lines
865 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/bamtools/bamtools-1.0.2.ebuild,v 1.3 2012/04/26 16:44:38 jlec Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="A programmer's API and an end-user's toolkit for handling BAM files"
HOMEPAGE="https://github.com/pezmaster31/bamtools"
SRC_URI="mirror://github/pezmaster31/bamtools/"${P}".tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
src_install() {
for i in bin/bamtools-${PV} lib/libbamtools.so.${PV} lib/libbamtools-utils.so.${PV}; do
TMPDIR="$(pwd)" scanelf -Xr $i || die
done
dobin bin/bamtools
dolib lib/*
insinto /usr/include/bamtools/api
doins include/api/*
insinto /usr/include/bamtools/shared
doins include/shared/*
dodoc README
}