games-util/gslist: remove depreacted games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 22:54:02 +0000 (17:54 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 22:54:17 +0000 (17:54 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.2.28

games-util/gslist/gslist-0.8.11a-r1.ebuild [new file with mode: 0644]

diff --git a/games-util/gslist/gslist-0.8.11a-r1.ebuild b/games-util/gslist/gslist-0.8.11a-r1.ebuild
new file mode 100644 (file)
index 0000000..b497ce2
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="A GameSpy server browser"
+HOMEPAGE="http://aluigi.altervista.org/papers.htm#gslist"
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="web"
+
+RDEPEND="dev-libs/geoip"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
+
+S="${WORKDIR}"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-build.patch
+)
+
+src_prepare() {
+       default
+       rm -f gslist gslistsql *.exe *.dll || die
+}
+
+src_compile() {
+       emake SQL=0 $(use web || echo GSWEB=0)
+}
+
+src_install() {
+       dobin ${PN}
+       dodoc ${PN}.txt
+}