blob: 9151564d5c74e65dc7af494746cb321bce204422 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Statistical analysis of gene flow in pedigrees"
HOMEPAGE="https://csg.sph.umich.edu/abecasis/Merlin/"
SRC_URI="https://www.sph.umich.edu/csg/abecasis/Merlin/download/${P}.tar.gz"
LICENSE="merlin"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_prepare() {
default
sed -i -e 's/CXX=g++/CXX='$(tc-getCXX)'/' -e 's/CFLAGS=/CFLAGS+= /' "${S}/Makefile" || die
}
src_compile() {
emake INSTALLDIR="${S}/bin" install
}
src_install() {
dobin "${S}"/bin/*
insinto /usr/share/${PN}
doins -r examples
dodoc README
}
|