blob: aea383b85949f6ce86ebd31436b3e827941fa96c (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2012 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.4 2012/11/19 10:27:46 jlec Exp $
EAPI=4
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 ~x86"
S="${WORKDIR}/AllPaths"
DEPEND="!sci-biology/allpathslg"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-gcc4.7.patch )
src_prepare() {
sed \
-e "s:-O3:${CXXFLAGS}:g" \
-e 's:-ggdb3::g' \
-i Makefile* || die
base_src_prepare
}
src_compile() {
base_src_compile
emake install_scripts
}
src_install() {
exeinto /usr/libexec/${P}/
find bin -type f -executable | xargs doexe || die
echo "PATH=\"/usr/libexec/${P}/\"" > "${S}/50${P}"
doenvd "${S}/50${P}" || die
dosym /usr/libexec/${P}/RunAllPaths3G /usr/bin/RunAllPaths3G
dodoc "${DISTDIR}/AllPathsV3_Manual_r1.0.docx"
}
|