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

Contents of /sci-biology/allpaths/allpaths-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Aug 20 16:56:10 2009 UTC (4 years, 11 months ago) by weaver
Branch: MAIN
Changes since 1.2: +8 -1 lines
Fix compile issue on x86, bug 279711
(Portage version: 2.2_rc30/cvs/Linux x86_64, RepoMan options: --force)

1 weaver 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 weaver 1.3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/allpaths/allpaths-2.0.ebuild,v 1.2 2009/07/08 03:50:03 weaver Exp $
4 weaver 1.1
5     EAPI="2"
6    
7 weaver 1.3 inherit base
8    
9 weaver 1.1 DESCRIPTION="De novo assembly of whole-genome shotgun microreads"
10     HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd"
11     SRC_URI="ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-2-0/allpaths-2.0.tar.gz
12     ftp://ftp.broad.mit.edu/pub/crd/ALLPATHS/Release-2-0/allpaths-2.0.manual.docx"
13    
14     LICENSE="Whitehead-MIT"
15     SLOT="0"
16     IUSE=""
17     KEYWORDS="~amd64 ~x86"
18    
19     # TODO: info message on failure instructing to run gcc-config
20     DEPEND=">=sys-devel/gcc-4.3.2"
21     RDEPEND=""
22    
23 weaver 1.3 PATCHES=(
24     "${FILESDIR}"/${P}-gcc-x86-no-autocast.patch
25     )
26    
27 weaver 1.1 S="${WORKDIR}"
28    
29     src_prepare() {
30 weaver 1.3 base_src_prepare
31 weaver 1.2 rm -rf libxerces* xerces_include || die
32 weaver 1.1 }
33    
34     src_install() {
35     rm -rf bin/auxfiles
36 weaver 1.2 exeinto /usr/share/${PN}/bin
37     doexe bin/* || die
38     echo "PATH=\"/usr/share/${PN}/bin\"" > "${S}/99${PN}"
39     doenvd "${S}/99${PN}" || die
40     dosym /usr/share/${PN}/bin/RunAllPaths /usr/bin/RunAllPaths || die
41 weaver 1.1 insinto /usr/share/doc/${PF}
42     doins "${DISTDIR}/${P}.manual.docx"
43     }

  ViewVC Help
Powered by ViewVC 1.1.20