games-board/hexxagon: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 7 Sep 2016 18:41:43 +0000 (13:41 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 7 Sep 2016 18:41:43 +0000 (13:41 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-board/hexxagon/hexxagon-1.0.2-r1.ebuild [new file with mode: 0644]

diff --git a/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild b/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..b9c2958
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils flag-o-matic
+
+DESCRIPTION="Clone of the original DOS game"
+HOMEPAGE="http://www.nesqi.se/"
+SRC_URI="http://www.nesqi.se/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-cpp/glibmm:2
+       dev-cpp/gtkmm:2.4
+       x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+
+       append-cxxflags -std=c++11
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       newicon images/board_N_2.xpm ${PN}.xpm
+       make_desktop_entry ${PN} Hexxagon
+       dodoc README
+}