blob: 85076f3305790b538409fe8d3b12b3b43e66bb50 (
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
44
45
46
47
48
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Algorithm for detecting SNPs, indels, and other polymorphisms"
HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd/"
SRC_URI="
ftp://ftp.broad.mit.edu/pub/crd/VAAL/latest_source_code/${P}.tar.gz
ftp://ftp.broad.mit.edu/pub/crd/VAAL/VAAL_manual.doc
https://dev.gentoo.org/~mgorny/dist/${P}_remove-namespace-std.patch.bz2"
LICENSE="Whitehead-MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="openmp"
RDEPEND="
!sci-biology/allpaths
!sci-biology/allpathslg"
DEPEND="
${RDEPEND}
dev-libs/boost"
DOCS=( "${DISTDIR}/VAAL_manual.doc" )
PATCHES=(
"${WORKDIR}/${P}_remove-namespace-std.patch"
)
src_prepare() {
sed \
-e '/COPYING/d' \
-i src/Makefile.am || die
sed \
-e 's:-ggdb::g' \
-e '/AC_OPENMP_CEHCK/d' \
-i configure.ac || die
default
eautoreconf
}
src_configure() {
econf \
$(use_enable openmp)
}
|