/[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 - (show annotations) (download)
Mon Jun 25 07:08:17 2012 UTC (2 years, 6 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 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 EAPI=4
6
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 KEYWORDS="amd64 x86"
17
18 DEPEND="mpi? ( virtual/mpi )"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 epatch \
23 "${FILESDIR}"/${P}-parallel-build.patch \
24 "${FILESDIR}"/${P}-overflows.patch \
25 "${FILESDIR}"/${P}-perl-5.16.patch \
26 "${FILESDIR}"/${P}-ldflags.patch
27 }
28
29 src_configure() {
30 econf \
31 --prefix="${D}/usr" \
32 $(use_enable mpi)
33 }
34
35 src_install() {
36 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 insinto /usr/share/${PN}
45 doins -r benchmarks tutorial intro matrices
46 dodoc 00README* Userguide.pdf documentation/release-notes/*
47 }

  ViewVC Help
Powered by ViewVC 1.1.20