blob: 3d8192db7c3fe474ad7720ac89ff7d211eaa1cb8 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/allpaths-2.0.ebuild,v 1.2 2009/07/08 03:50:03 weaver Exp $
EAPI="2"
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-2-0/allpaths-2.0.tar.gz
ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-2-0/allpaths-2.0.manual.docx"
LICENSE="Whitehead-MIT"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
# TODO: info message on failure instructing to run gcc-config
DEPEND=">=sys-devel/gcc-4.3.2"
RDEPEND=""
S="${WORKDIR}"
src_prepare() {
rm -rf libxerces* xerces_include || die
}
src_install() {
rm -rf bin/auxfiles
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/RunAllPaths /usr/bin/RunAllPaths || die
insinto /usr/share/doc/${PF}
doins "${DISTDIR}/${P}.manual.docx"
}
|