summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 00:48:28 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 00:48:28 +0100
commitc5138c7f261799f62b944004c108f7a01b138be7 (patch)
tree09447b90bd5d84f0ea7c387fd5ab86852a1cbad2 /sci-biology
parentsci-biology/tree-puzzle: Port to EAPI 7 (diff)
downloadgentoo-c5138c7f261799f62b944004c108f7a01b138be7.tar.gz
gentoo-c5138c7f261799f62b944004c108f7a01b138be7.tar.bz2
gentoo-c5138c7f261799f62b944004c108f7a01b138be7.zip
sci-biology/augustus: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/augustus/augustus-2.5.5.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/sci-biology/augustus/augustus-2.5.5.ebuild b/sci-biology/augustus/augustus-2.5.5.ebuild
index ff4dfd6cc7e0..5bf36e85cb9b 100644
--- a/sci-biology/augustus/augustus-2.5.5.ebuild
+++ b/sci-biology/augustus/augustus-2.5.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Eukaryotic gene predictor"
HOMEPAGE="http://augustus.gobics.de/"
@@ -15,30 +15,31 @@ KEYWORDS="amd64 x86"
IUSE="examples"
S="${WORKDIR}/${PN}.${PV}"
+PATCHES=( "${FILESDIR}"/${P}-sane-build.patch )
-src_prepare() {
- epatch "${FILESDIR}"/${P}-sane-build.patch
+src_configure() {
tc-export CC CXX
}
src_compile() {
- emake clean && emake
+ emake clean
+ default
}
src_install() {
dobin bin/*
-# dobin src/{augustus,etraining,consensusFinder,curve2hints,fastBlockSearch,prepareAlign}
exeinto /usr/libexec/${PN}
doexe scripts/*.p*
+
insinto /usr/libexec/${PN}
doins scripts/*.conf
insinto /usr/share/${PN}
doins -r config
- echo "AUGUSTUS_CONFIG_PATH=\"/usr/share/${PN}/config\"" > "${S}/99${PN}"
- doenvd "${S}/99${PN}"
+ echo "AUGUSTUS_CONFIG_PATH=\"/usr/share/${PN}/config\"" > 99${PN} || die
+ doenvd 99${PN}
dodoc -r README.TXT HISTORY.TXT docs/*.{pdf,txt}