blob: 9aa8c38884b8e73c0b79173c16ca837d9a149a8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild,v 1.5 2009/12/28 23:49:26 maekke Exp $
EAPI="2"
inherit autotools
DESCRIPTION="The Gibbs Motif Sampler identifies motifs, conserved regions, in DNA or protein sequences"
HOMEPAGE="http://bayesweb.wadsworth.org/gibbs/gibbs.html"
SRC_URI="mirror://gentoo/gibbs-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="mpi"
KEYWORDS="amd64 x86"
DEPEND="mpi? ( virtual/mpi
sys-cluster/mpe2 )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/CFLAGS="$OPTFLAGS/CFLAGS="$CFLAGS $OPTFLAGS/' \
-e 's/-Werror//' configure.in || die
eautoreconf
}
src_configure() {
if use mpi; then export CC=mpicc; fi
econf $(use_enable mpi) || die
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
exeinto /usr/share/${PN}
doexe *.pl
dodoc README ChangeLog
}
pkg_postinst() {
einfo "Supplementary Perl scripts for Gibbs have been installed into /usr/share/${PN}."
einfo "These scripts require installation of sci-biology/bioperl."
}
|