games-arcade/gnake: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 20:07:41 +0000 (22:07 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 20:26:39 +0000 (22:26 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

games-arcade/gnake/gnake-0.94b-r1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/gnake/gnake-0.94b-r1.ebuild b/games-arcade/gnake/gnake-0.94b-r1.ebuild
new file mode 100644 (file)
index 0000000..a1cce85
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An ncurses-based Nibbles clone"
+HOMEPAGE="http://lightless.org/gnake"
+SRC_URI="mirror://gentoo/Gnake.${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses:0"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+       emake LDLIBS="$(pkg-config ncurses --libs)" gnake
+}
+
+src_install() {
+       dobin gnake
+       einstalldocs
+}