/[gentoo-x86]/sci-biology/infernal/infernal-1.0.2-r1.ebuild
Gentoo

Contents of /sci-biology/infernal/infernal-1.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Jun 25 07:08:17 2012 UTC (2 years, 3 months ago) by jlec
Branch: MAIN
Changes since 1.3: +18 -9 lines
sci-biology/infernal: Fix for perl-5.16, #422561; move to EAPI=4

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 jlec 1.4 # Copyright 1999-2012 Gentoo Foundation
2 xarthisius 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.4 # $Header: /var/cvsroot/gentoo-x86/sci-biology/infernal/infernal-1.0.2-r1.ebuild,v 1.3 2011/02/11 13:04:33 hwoarang Exp $
4 xarthisius 1.1
5 jlec 1.4 EAPI=4
6 xarthisius 1.1
7     inherit eutils
8    
9     DESCRIPTION="Inference of RNA alignments"
10     HOMEPAGE="http://infernal.janelia.org/"
11     SRC_URI="ftp://selab.janelia.org/pub/software/${PN}/${P}.tar.gz"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15     IUSE="mpi"
16 hwoarang 1.3 KEYWORDS="amd64 x86"
17 xarthisius 1.1
18     DEPEND="mpi? ( virtual/mpi )"
19     RDEPEND="${DEPEND}"
20    
21     src_prepare() {
22 jlec 1.4 epatch \
23     "${FILESDIR}"/${P}-parallel-build.patch \
24 xarthisius 1.1 "${FILESDIR}"/${P}-overflows.patch \
25 jlec 1.4 "${FILESDIR}"/${P}-perl-5.16.patch \
26 xarthisius 1.1 "${FILESDIR}"/${P}-ldflags.patch
27     }
28    
29     src_configure() {
30 jlec 1.4 econf \
31     --prefix="${D}/usr" \
32 xarthisius 1.1 $(use_enable mpi)
33     }
34    
35     src_install() {
36 jlec 1.4 default
37    
38     pushd documentation/manpages > /dev/null
39     for i in *;
40     do newman ${i} ${i/.man/.1}
41     done
42     popd > /dev/null
43    
44 xarthisius 1.1 insinto /usr/share/${PN}
45 jlec 1.4 doins -r benchmarks tutorial intro matrices
46     dodoc 00README* Userguide.pdf documentation/release-notes/*
47 xarthisius 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20