/[gentoo-x86]/sci-biology/allpaths/allpaths-3.1.ebuild
Gentoo

Diff of /sci-biology/allpaths/allpaths-3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/Attic/allpaths-3.1.ebuild,v 1.1 2010/01/26 20:43:21 weaver Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/Attic/allpaths-3.1.ebuild,v 1.2 2012/08/30 07:32:21 jlec Exp $
4 4
5EAPI="2" 5EAPI=4
6 6
7inherit base 7inherit base
8 8
9DESCRIPTION="De novo assembly of whole-genome shotgun microreads" 9DESCRIPTION="De novo assembly of whole-genome shotgun microreads"
10HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd" 10HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd"
11SRC_URI="
11SRC_URI="ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/allpaths-${PV}.tgz 12 ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/allpaths-${PV}.tgz
12 ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/AllPathsV3_Manual_r1.0.docx" 13 ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-3-0/AllPathsV3_Manual_r1.0.docx"
13 14
14LICENSE="Whitehead-MIT" 15LICENSE="Whitehead-MIT"
15SLOT="3" 16SLOT="3"
16IUSE="" 17IUSE=""
17KEYWORDS="~amd64" 18KEYWORDS="~amd64 ~x86"
18
19DEPEND=">=sys-devel/gcc-4.3.2"
20RDEPEND=""
21 19
22S="${WORKDIR}/AllPaths" 20S="${WORKDIR}/AllPaths"
23 21
22PATCHES=( "${FILESDIR}"/${P}-gcc4.7.patch )
23
24src_compile() { 24src_compile() {
25 base_src_compile 25 base_src_compile
26 emake install_scripts || die 26 emake install_scripts
27} 27}
28 28
29src_install() { 29src_install() {
30 exeinto /usr/share/${P}/bin 30 exeinto /usr/libexec/${P}/
31 find bin -type f -executable | xargs doexe || die 31 find bin -type f -executable | xargs doexe || die
32
32 echo "PATH=\"/usr/share/${P}/bin\"" > "${S}/99${P}" 33 echo "PATH=\"/usr/libexec/${P}/\"" > "${S}/50${P}"
33 doenvd "${S}/99${P}" || die 34 doenvd "${S}/50${P}" || die
35
34 dosym /usr/share/${P}/bin/RunAllPaths3G /usr/bin/RunAllPaths3G || die 36 dosym /usr/libexec/${P}/RunAllPaths3G /usr/bin/RunAllPaths3G
35 insinto /usr/share/doc/${PF} 37
36 doins "${DISTDIR}/AllPathsV3_Manual_r1.0.docx" 38 dodoc "${DISTDIR}/AllPathsV3_Manual_r1.0.docx"
37} 39}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20