diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild')
-rw-r--r-- | dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild new file mode 100644 index 000000000000..ba7da67ac506 --- /dev/null +++ b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils autotools + +DESCRIPTION="A GTK2 8085 Simulator" +HOMEPAGE="http://gnusim8085.org" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls examples" + +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} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-docs.patch + epatch "${FILESDIR}"/${P}-cflags.patch + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +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 +} |