blob: be843a9d7bc7fd6475bcc2fc483e45358e1f43ab (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools flag-o-matic perl-functions toolchain-funcs
DESCRIPTION="Tools for working with VCF (Variant Call Format) files"
HOMEPAGE="http://vcftools.sourceforge.net/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="lapack"
RDEPEND="sys-libs/zlib
dev-lang/perl:=
lapack? ( virtual/lapack )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${PN}-0.1.14-buildsystem.patch" )
src_prepare() {
default
eautoreconf
}
src_configure() {
perl_set_version
append-flags $($(tc-getPKG_CONFIG) --cflags lapack)
append-libs $($(tc-getPKG_CONFIG) --libs lapack)
econf \
$(use_enable lapack pca) \
--with-pmdir="${VENDOR_LIB#${EPREFIX}/usr}"
}
|