summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-25 18:50:32 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-25 18:50:32 +0000
commit9ec1dcd40e27ce2761c896db33e4de02f3ee3aea (patch)
treed651e538b299a24d76583a40b1b3cbcb52660251 /sci-biology/vaal/vaal-1.6.ebuild
parentRemove old. (diff)
downloadgentoo-2-9ec1dcd40e27ce2761c896db33e4de02f3ee3aea.tar.gz
gentoo-2-9ec1dcd40e27ce2761c896db33e4de02f3ee3aea.tar.bz2
gentoo-2-9ec1dcd40e27ce2761c896db33e4de02f3ee3aea.zip
sci-biology/vaal: Drop old, #309127; Handle openmp, don't install license
(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/vaal/vaal-1.6.ebuild')
-rw-r--r--sci-biology/vaal/vaal-1.6.ebuild38
1 files changed, 24 insertions, 14 deletions
diff --git a/sci-biology/vaal/vaal-1.6.ebuild b/sci-biology/vaal/vaal-1.6.ebuild
index f836a0393ec9..719765aec7ba 100644
--- a/sci-biology/vaal/vaal-1.6.ebuild
+++ b/sci-biology/vaal/vaal-1.6.ebuild
@@ -1,20 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vaal/vaal-1.6.ebuild,v 1.4 2012/06/25 18:42:57 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vaal/vaal-1.6.ebuild,v 1.5 2012/06/25 18:50:32 jlec Exp $
-EAPI="2"
+EAPI=4
-inherit base autotools
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils
DESCRIPTION="A variant ascertainment algorithm that can be used to detect 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/VAAL.${PV}.tgz
+HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd/"
+SRC_URI="
+ ftp://ftp.broad.mit.edu/pub/crd/VAAL/VAAL.${PV}.tgz
ftp://ftp.broad.mit.edu/pub/crd/VAAL/VAAL_manual.doc"
LICENSE="Whitehead-MIT"
SLOT="0"
-IUSE=""
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~x86"
+IUSE="openmp"
DEPEND=">=dev-libs/boost-1.41.0-r3"
RDEPEND="${DEPEND}"
@@ -24,15 +27,22 @@ PATCHES=(
"${FILESDIR}"/${P}-gcc47.patch
)
-S=${WORKDIR}/vaal-33805
+DOCS=( "${DISTDIR}/VAAL_manual.doc" )
+
+S="${WORKDIR}/vaal-33805"
src_prepare() {
- base_src_prepare
- eautoreconf
+ sed \
+ -e '/COPYING/d' \
+ -i src/Makefile.am || die
+
+ sed \
+ -e '/AC_OPENMP_CEHCK/d' \
+ -i configure.ac || die
+ autotools-utils_src_prepare
}
-src_install() {
- einstall || die
- insinto /usr/share/doc/${PF}
- doins "${DISTDIR}/VAAL_manual.doc"
+src_configure(){
+ local myeconfargs=( $(use_enable openmp) )
+ autotools-utils_src_configure
}