summaryrefslogtreecommitdiff
blob: 7dc50a0c6ba9ca3f4b386cb2ef567c75c7cfa202 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/vaal/vaal-1.2.ebuild,v 1.1 2009/07/08 03:52:35 weaver Exp $

EAPI="2"

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.1.2.tgz
	ftp://ftp.broad.mit.edu/pub/crd/VAAL/VAAL_manual.doc"

LICENSE="Whitehead-MIT"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"

DEPEND=">=dev-libs/boost-1.37.0"
RDEPEND="${DEPEND}"

S="${WORKDIR}/VAAL"

src_install() {
	exeinto /usr/share/${PN}/bin
	doexe bin/* || die
	echo "PATH=\"/usr/share/${PN}/bin\"" > "${S}/99${PN}"
	doenvd "${S}/99${PN}" || die
	dosym /usr/share/${PN}/bin/VAALrun /usr/bin/VAALrun || die
	insinto /usr/share/doc/${PF}
	doins "${DISTDIR}/VAAL_manual.doc"
}