summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-09-09 13:26:23 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-09-09 14:29:23 +0200
commitd9bd2366a1e5fb8670fd8e3823047d221e6c4b46 (patch)
tree4fe1e4b18d5502416d847221f4969629095a5265 /app-misc/g15macro
parentapp-misc/g15composer: Removed old (diff)
downloadgentoo-d9bd2366a1e5fb8670fd8e3823047d221e6c4b46.tar.gz
gentoo-d9bd2366a1e5fb8670fd8e3823047d221e6c4b46.tar.bz2
gentoo-d9bd2366a1e5fb8670fd8e3823047d221e6c4b46.zip
app-misc/g15macro: Convert to EAPI-7
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc/g15macro')
-rw-r--r--app-misc/g15macro/g15macro-1.0.3-r2.ebuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/app-misc/g15macro/g15macro-1.0.3-r2.ebuild b/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
index c86e4550bd28..4a2436d7c321 100644
--- a/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
+++ b/app-misc/g15macro/g15macro-1.0.3-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+inherit autotools
DESCRIPTION="Macro recording plugin to G15daemon"
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
@@ -23,10 +23,14 @@ RDEPEND="${DEPEND}
sys-libs/zlib
"
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.am.patch
+ "${FILESDIR}"/${P}-configure.in.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefile.am.patch
- epatch "${FILESDIR}"/${P}-configure.in.patch
- mv configure.in configure.ac || die
+ default
+ mv configure.{in,ac} || die
eautoreconf
}
@@ -36,5 +40,5 @@ src_configure() {
src_install() {
default
- rm -rf "${ED}"/usr/share/doc/${P}
+ rm -rf "${ED}"/usr/share/doc/${P} || die
}