blob: 084192dd441948caae7d66a4d8549900833fe849 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit flag-o-matic python-any-r1 toolchain-funcs
DESCRIPTION="Tools for manipulation and analysis of BED, GFF/GTF, VCF, SAM/BAM file formats"
HOMEPAGE="https://bedtools.readthedocs.io/"
SRC_URI="https://github.com/arq5x/${PN}2/releases/download/v${PV}/${P}.tar.gz
https://dev.gentoo.org/~mgorny/dist/${PN}-2.26.0-fix-buildsystem.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="test"
DEPEND="${PYTHON_DEPS}
test? (
sci-libs/htslib
sci-biology/samtools:0
)"
RDEPEND="sys-libs/zlib"
S="${WORKDIR}/${PN}2"
DOCS=( README.md RELEASE_HISTORY )
PATCHES=( "${WORKDIR}/${PN}-2.26.0-fix-buildsystem.patch" )
src_configure() {
append-lfs-flags
export prefix="${EPREFIX}/usr"
tc-export AR CXX
}
src_install() {
default
insinto /usr/share/${PN}
doins -r genomes
}
|