From ad92a5eb433a0fb192941f68378da0311257a4ed Mon Sep 17 00:00:00 2001 From: tulku Date: Wed, 19 Apr 2006 16:28:39 +0000 Subject: Adding ebuild for generecon git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@177 32389bae-6d03-0410-99cf-db05cde120eb --- sci-biology/generecon/generecon-1.2.1-r1.ebuild | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 sci-biology/generecon/generecon-1.2.1-r1.ebuild (limited to 'sci-biology/generecon/generecon-1.2.1-r1.ebuild') diff --git a/sci-biology/generecon/generecon-1.2.1-r1.ebuild b/sci-biology/generecon/generecon-1.2.1-r1.ebuild new file mode 100644 index 000000000..61d4c699c --- /dev/null +++ b/sci-biology/generecon/generecon-1.2.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Generecon performs linkage disequilibrium gene mapping based on coalescent theory using Bayesian Markov Chain Monte Carlo methods." +HOMEPAGE="http://www.daimi.au.dk/~mailund/GeneRecon/" +SRC_URI="http://www.daimi.au.dk/~mailund/GeneRecon/download/${P}.tar.gz" +SLOT="0" + +# License of the package. This must match the name of file(s) in +# /usr/portage/licenses/. For complex license combination see the developer +# docs on gentoo.org for details. +LICENSE="GPL-2" + +KEYWORDS="x86" + +DEPEND="dev-util/guile + sci-libs/gsl" + +src_unpack() { + unpack ${A} + sed 's|#PF#|'${PF}'|g' ${FILESDIR}/${PN}-docfiles.patch > ${PN}-docfiles.patch + + epatch ${PN}-docfiles.patch + + cd ${S} + pwd + einfo "Regenerating autotools files..." + aclocal || die "aclocal failed" + automake || die "automake failed" +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" +} -- cgit v1.2.3-65-gdbad