aboutsummaryrefslogtreecommitdiff
blob: 41e2607e50cb0e3b34f6ddd71148c6161bae2988 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"

inherit autotools eutils

DESCRIPTION="Disequilibrium gene mapping based on coalescent theory using Bayesian Markov Chain MC 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="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	dev-scheme/guile
	sci-libs/gsl"
DEPEND="${DEPEND}"

src_prepare() {
	sed 's|#PF#|'${PF}'|g' "${FILESDIR}"/${PN}-docfiles.patch > ${PN}-docfiles.patch

	epatch ${PN}-docfiles.patch
	epatch "${FILESDIR}"/${PV}-gcc4.patch
	epatch "${FILESDIR}"/${PV}-flags.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install  || die "make install failed"
}