summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild')
-rw-r--r--sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild b/sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild
index 123977916f0..78681265a0b 100644
--- a/sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild
+++ b/sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit toolchain-funcs
@@ -15,12 +15,13 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${P}-fix-build-system.patch
"${FILESDIR}"/${P}-implicits.patch
"${FILESDIR}"/${P}-modernize.patch
"${FILESDIR}"/${P}-gnu89-inline.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
src_configure() {
@@ -34,12 +35,12 @@ src_compile() {
src_install() {
dobin source/dialign-tx
- insinto /usr/$(get_libdir)/${PN}/conf
+ insinto /usr/$(get_libdir)/dialign-tx/conf
doins -r conf/.
}
pkg_postinst() {
einfo "The configuration directory is"
- einfo "${EROOT%/}/usr/$(get_libdir)/${PN}/conf"
- einfo "You will need to pass this to ${PN} on every run."
+ einfo "${EROOT}/usr/$(get_libdir)/dialign-tx/conf"
+ einfo "You will need to pass this to dialign-tx on every run."
}