summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-16 18:09:49 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-16 18:09:49 +0200
commitafd253a3226f3b1e0eda30a038503a55fc29d5f0 (patch)
treeb1a9e32f60754cfd1639c175aef3c31b8370813a /dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
parentdev-python/glooey: new package (diff)
downloadgentoo-afd253a3226f3b1e0eda30a038503a55fc29d5f0.tar.gz
gentoo-afd253a3226f3b1e0eda30a038503a55fc29d5f0.tar.bz2
gentoo-afd253a3226f3b1e0eda30a038503a55fc29d5f0.zip
dev-embedded/gnusim8085: Port to EAPI 7
Closes: https://bugs.gentoo.org/742176 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild')
-rw-r--r--dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild32
1 files changed, 19 insertions, 13 deletions
diff --git a/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
index ba7da67ac50..1268835c5ff 100644
--- a/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
+++ b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils autotools
+inherit autotools
DESCRIPTION="A GTK2 8085 Simulator"
HOMEPAGE="http://gnusim8085.org"
@@ -12,20 +12,27 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="nls examples"
+IUSE="nls"
-RDEPEND=">=x11-libs/gtk+-2.12:2
+RDEPEND="
+ >=x11-libs/gtk+-2.12:2
x11-libs/gdk-pixbuf:2
dev-libs/glib:2
x11-libs/gtksourceview:2.0
x11-libs/pango"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )"
+PATCHES=(
+ "${FILESDIR}"/${P}-docs.patch
+ "${FILESDIR}"/${P}-cflags.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-docs.patch
- epatch "${FILESDIR}"/${P}-cflags.patch
+ default
+ mv configure.{in,ac} || die
eautoreconf
}
@@ -35,11 +42,10 @@ src_configure() {
src_install() {
default
+
doman doc/gnusim8085.1
- if use examples ; then
- docompress -x /usr/share/doc/${PF}/examples
- insinto /usr/share/doc/${PF}/examples
- doins doc/examples/*.asm doc/asm-guide.txt
- fi
+ docinto examples
+ dodoc doc/examples/*.asm doc/asm-guide.txt
+ docompress -x /usr/share/doc/${PF}/examples
}