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

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-libs/popt
	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"
}