summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild')
-rw-r--r--sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild b/sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild
index fc5869667f02..a9193dfe1807 100644
--- a/sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild
+++ b/sci-biology/wgs-assembler/wgs-assembler-7.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="The Celera de novo whole-genome shotgun DNA sequence assembler, aka CABOG"
HOMEPAGE="https://sourceforge.net/projects/wgs-assembler/"
@@ -12,7 +12,6 @@ SRC_URI="mirror://sourceforge/${PN}/wgs-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="static-libs"
DEPEND="
net-libs/libtirpc
@@ -29,13 +28,10 @@ PATCHES=(
"${FILESDIR}"/${P}-libtirpc.patch
)
-src_prepare() {
- default
- tc-export CC CXX
-}
-
src_configure() {
- cd "${S}/kmer"
+ tc-export AR CC CXX
+
+ cd kmer || die
./configure.sh || die
}
@@ -57,16 +53,14 @@ src_install() {
sed -i '1 a use lib "/usr/share/'${PN}'/lib";' $(find $MY_S -name '*.p*') || die
dobin kmer/${MY_S}/bin/*
- insinto /usr/$(get_libdir)/${PN}
- use static-libs && doins kmer/${MY_S}/lib/*
insinto /usr/include/${PN}
- doins kmer/${MY_S}/include/*
+ doins -r kmer/${MY_S}/include/.
insinto /usr/share/${PN}/lib
doins -r ${MY_S}/bin/TIGR
rm -rf ${MY_S}/bin/TIGR || die
dobin ${MY_S}/bin/*
- use static-libs && dolib.a ${MY_S}/lib/*
+
dodoc README
}