summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-12-31 19:39:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-12-31 19:39:32 +0000
commit622724c78055f98cdfbc07cde386f8235a17409a (patch)
treea57796fb8176fd71194bcf54ba499f7321ce0c30
parentAdd Prefix keywords, bug #396547 (diff)
downloadgentoo-2-622724c78055f98cdfbc07cde386f8235a17409a.tar.gz
gentoo-2-622724c78055f98cdfbc07cde386f8235a17409a.tar.bz2
gentoo-2-622724c78055f98cdfbc07cde386f8235a17409a.zip
initial commit - ebuild submitted by Samuel BAUER via bug #391733
(Portage version: 2.1.10.41/cvs/Linux i686)
-rw-r--r--games-board/gmchess/ChangeLog10
-rw-r--r--games-board/gmchess/gmchess-0.29.6.ebuild39
-rw-r--r--games-board/gmchess/metadata.xml5
3 files changed, 54 insertions, 0 deletions
diff --git a/games-board/gmchess/ChangeLog b/games-board/gmchess/ChangeLog
new file mode 100644
index 000000000000..b835b18cdeb4
--- /dev/null
+++ b/games-board/gmchess/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-board/gmchess
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gmchess/ChangeLog,v 1.1 2011/12/31 19:39:32 mr_bones_ Exp $
+
+*gmchess-0.29.6 (31 Dec 2011)
+
+ 31 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org> +gmchess-0.29.6.ebuild,
+ +metadata.xml:
+ initial commit - ebuild submitted by Samuel BAUER via bug #391733
+
diff --git a/games-board/gmchess/gmchess-0.29.6.ebuild b/games-board/gmchess/gmchess-0.29.6.ebuild
new file mode 100644
index 000000000000..da2036d9d6a6
--- /dev/null
+++ b/games-board/gmchess/gmchess-0.29.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gmchess/gmchess-0.29.6.ebuild,v 1.1 2011/12/31 19:39:32 mr_bones_ Exp $
+
+EAPI=2
+inherit games
+
+DESCRIPTION="Chinese chess with gtkmm and c++"
+HOMEPAGE="http://code.google.com/p/gmchess/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-cpp/gtkmm:2.4"
+
+src_prepare() {
+ sed -i -e '/Encoding=/d' data/${PN}.desktop.in || die
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-static \
+ --localedir='/usr/share/locale' || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ itlocaledir='/usr/share/locale' \
+ pixmapsdir='/usr/share/pixmaps' \
+ desktopdir='/usr/share/applications' \
+ install || die
+ dodoc AUTHORS NEWS README
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+ prepgamesdirs
+}
diff --git a/games-board/gmchess/metadata.xml b/games-board/gmchess/metadata.xml
new file mode 100644
index 000000000000..f72870c0c28d
--- /dev/null
+++ b/games-board/gmchess/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>