blob: d3e69f914511047ede44b6d714887b1866fe875a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="C++ wrapper to tabix indexer "
HOMEPAGE="https://github.com/ekg/tabixpp"
SRC_URI="https://github.com/ekg/tabixpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="sci-biology/samtools:0"
RDEPEND="${DEPEND}"
src_prepare(){
default
sed -e 's@HTS_HEADERS?= htslib/htslib/bgzf.h htslib/htslib/tbx.h@HTS_HEADERS?= /usr/include/htslib/bgzf.h /usr/include/htslib/tbx.h@g' -i Makefile || die
sed -e 's@HTS_LIB?= htslib/libhts.a@HTS_LIB?= /usr/'"$(get_libdir)"'/libhts.so@g' -i Makefile || die
}
src_install() {
einstalldocs
dobin tabix++
doheader tabix.hpp
}
|