You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
988 B
39 lines
988 B
13 years ago
|
# Copyright 1999-2011 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $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 $
|
||
|
|
||
|
EAPI="2"
|
||
|
|
||
|
inherit eutils
|
||
|
|
||
|
DESCRIPTION="Inference of RNA alignments"
|
||
|
HOMEPAGE="http://infernal.janelia.org/"
|
||
|
SRC_URI="ftp://selab.janelia.org/pub/software/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
IUSE="mpi"
|
||
|
KEYWORDS="amd64 x86"
|
||
|
|
||
|
DEPEND="mpi? ( virtual/mpi )"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}"/${P}-parallel-build.patch \
|
||
|
"${FILESDIR}"/${P}-overflows.patch \
|
||
|
"${FILESDIR}"/${P}-ldflags.patch
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf --prefix="${D}/usr" \
|
||
|
$(use_enable mpi)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake install || die
|
||
|
(cd documentation/manpages; for i in *; do newman ${i} ${i/.man/.1}; done)
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r benchmarks tutorial intro matrices || die
|
||
|
dodoc 00README* Userguide.pdf documentation/release-notes/* || die
|
||
|
}
|