games-engines/xzip: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 26 Oct 2016 22:41:34 +0000 (17:41 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 26 Oct 2016 22:42:10 +0000 (17:42 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.2

games-engines/xzip/xzip-1.8.2-r3.ebuild [new file with mode: 0644]

diff --git a/games-engines/xzip/xzip-1.8.2-r3.ebuild b/games-engines/xzip/xzip-1.8.2-r3.ebuild
new file mode 100644 (file)
index 0000000..1de891d
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="X interface to Z-code based text games"
+HOMEPAGE="http://www.eblong.com/zarf/xzip.html"
+SRC_URI="http://www.eblong.com/zarf/ftp/xzip182.tar.Z"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="test"
+
+DEPEND="x11-libs/libX11"
+RDEPEND=${DEPEND}
+
+S="${WORKDIR}/xzip"
+
+src_compile() {
+       emake \
+               CFLAGS="${CFLAGS} -DAUTO_END_MODE" \
+               LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       dobin xzip
+       dodoc README
+       doman xzip.1
+}