]> Pileus Git - ~andy/sunrise/commitdiff
games-board/holtz: New ebuild for bug 337807.
authorMaxim Koltsov <maks@gentoo.org>
Sat, 25 Sep 2010 15:55:42 +0000 (15:55 +0000)
committerMaxim Koltsov <maks@gentoo.org>
Sat, 25 Sep 2010 15:55:42 +0000 (15:55 +0000)
svn path=/sunrise/; revision=11377

games-board/holtz/ChangeLog [new file with mode: 0644]
games-board/holtz/Manifest [new file with mode: 0644]
games-board/holtz/holtz-1.3.1.ebuild [new file with mode: 0644]
games-board/holtz/metadata.xml [new file with mode: 0644]

diff --git a/games-board/holtz/ChangeLog b/games-board/holtz/ChangeLog
new file mode 100644 (file)
index 0000000..4526f4b
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for games-board/holtz
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  25 Sep 2010; Maks Verver (Soultaker) <maksverver@geocities.com>
+  +holtz-1.3.1.ebuild, +metadata.xml:
+  New ebuild for bug 337807.
+
diff --git a/games-board/holtz/Manifest b/games-board/holtz/Manifest
new file mode 100644 (file)
index 0000000..c9644a1
--- /dev/null
@@ -0,0 +1,4 @@
+DIST holtz-1.3.1.tar.gz 1835437 RMD160 3de0309bc5a0aa448e7208b9896bd09b2236beab SHA1 f47769313ae310ebbd093eaea00a8e662d1e299e SHA256 397b8b7a8a4ab4bf8866bd669bdc4f8059f13b894e23547debc5c9c32c27e970
+EBUILD holtz-1.3.1.ebuild 1161 RMD160 3251e088de2d8bcd5cbcb77c698a484735fa4ee9 SHA1 06b1bbd5ed5b55a979114e8d306e0b1604c308a7 SHA256 62901f6b8a23b69c29dd096eb5e594b2d751d055c6663ca32ed66e222d979440
+MISC ChangeLog 252 RMD160 fce88a2cb4aa8649b0c3e6237d0f524763c3c05e SHA1 f06c6bc2a36d6c65f80a921b20d5ff708884478a SHA256 91f03b84de6d44ee337b18cb0d7a6dba52b676df07b42490e08e25c75c816008
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/games-board/holtz/holtz-1.3.1.ebuild b/games-board/holtz/holtz-1.3.1.ebuild
new file mode 100644 (file)
index 0000000..73ee7a4
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# Note: the current version is not compatible with wxWidgets 2.9, but a future
+# version might be. Check again when upstream releases a new version.
+
+EAPI=2
+WX_GTK_VER=2.8
+
+inherit autotools eutils games wxwidgets
+
+DESCRIPTION="A program to play the abstract board games Zertz, Dvonn and Relax"
+HOMEPAGE="http://holtz.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_de"
+
+DEPEND="dev-libs/boost x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       # Restrict localization to selected languages:
+       echo "SUBDIRS=${LINGUAS}" >locale/Makefile.am || die
+
+       # Don't build/install this test program:
+       sed -i '/^bin_PROGRAMS=/d' relax/Makefile.am || die
+
+       eautomake
+}
+
+src_configure() {
+       egamesconf --enable-wxconfig="${WX_CONFIG}"
+}
+
+src_install() {
+       # Install files:
+       emake DESTDIR="${D}" install || die
+
+       # Create a desktop entry with an application icon:
+       newicon icon.xpm ${PN}.xpm || die
+       make_desktop_entry ${PN} Holtz ${PN}
+
+       prepgamesdirs
+}
diff --git a/games-board/holtz/metadata.xml b/games-board/holtz/metadata.xml
new file mode 100644 (file)
index 0000000..e6233b5
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>