games-misc/qlife: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Tue, 11 Oct 2016 21:41:50 +0000 (16:41 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 11 Oct 2016 22:55:47 +0000 (17:55 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-misc/qlife/qlife-1.1-r1.ebuild [new file with mode: 0644]

diff --git a/games-misc/qlife/qlife-1.1-r1.ebuild b/games-misc/qlife/qlife-1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..e56b0ae
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils qmake-utils
+MY_PN=${PN/ql/QL}
+
+DESCRIPTION="Simulates the classical Game of Life invented by John Conway"
+HOMEPAGE="http://open-maker.tuxfamily.org/blog/index.php?post/2009/03/28/QLife"
+SRC_URI="http://open-maker.tuxfamily.org/blog/public/${PN}_linux.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}/sources
+
+src_configure() {
+       eqmake4 ${MY_PN}.pro
+}
+
+src_install() {
+       dobin ${MY_PN}
+       newicon data/egg.png ${PN}.png
+       make_desktop_entry ${MY_PN} ${MY_PN}
+}