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/vaal/vaal-46233-r2.ebuild

48 lines
914 B

# 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"
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=(
"${FILESDIR}/${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)
}