summaryrefslogtreecommitdiff
blob: 31ac65d432a1085d8bd4bc7816a571f97d353c38 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/allpaths-3.1.ebuild,v 1.1 2010/01/26 20:43:21 weaver Exp $

EAPI="2"

inherit base

DESCRIPTION="De novo assembly of whole-genome shotgun microreads"
HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd"
SRC_URI="ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/allpaths-${PV}.tgz
	ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/AllPathsV3_Manual_r1.0.docx"

LICENSE="Whitehead-MIT"
SLOT="3"
IUSE=""
KEYWORDS="~amd64"

DEPEND=">=sys-devel/gcc-4.3.2"
RDEPEND=""

S="${WORKDIR}/AllPaths"

src_compile() {
	base_src_compile
	emake install_scripts || die
}

src_install() {
	exeinto /usr/share/${P}/bin
	find bin -type f -executable | xargs doexe || die
	echo "PATH=\"/usr/share/${P}/bin\"" > "${S}/99${P}"
	doenvd "${S}/99${P}" || die
	dosym /usr/share/${P}/bin/RunAllPaths3G /usr/bin/RunAllPaths3G || die
	insinto /usr/share/doc/${PF}
	doins "${DISTDIR}/AllPathsV3_Manual_r1.0.docx"
}