summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-19 11:25:25 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-19 11:25:25 +0000
commite12e84f7001b0088bd0875b1f2b47b2f5d3722f5 (patch)
treef04fbea67209f60f9520900a1f37a3b8300db758 /games-board/kcheckers
parentVersion bump. (diff)
downloadgentoo-2-e12e84f7001b0088bd0875b1f2b47b2f5d3722f5.tar.gz
gentoo-2-e12e84f7001b0088bd0875b1f2b47b2f5d3722f5.tar.bz2
gentoo-2-e12e84f7001b0088bd0875b1f2b47b2f5d3722f5.zip
Version bump
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'games-board/kcheckers')
-rw-r--r--games-board/kcheckers/ChangeLog7
-rw-r--r--games-board/kcheckers/files/digest-kcheckers-0.8.13
-rw-r--r--games-board/kcheckers/kcheckers-0.8.1.ebuild50
3 files changed, 59 insertions, 1 deletions
diff --git a/games-board/kcheckers/ChangeLog b/games-board/kcheckers/ChangeLog
index a5b2f85cb359..f78cc8809d48 100644
--- a/games-board/kcheckers/ChangeLog
+++ b/games-board/kcheckers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/kcheckers
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.9 2006/10/08 21:28:32 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.10 2006/11/19 11:25:25 nyhm Exp $
+
+*kcheckers-0.8.1 (19 Nov 2006)
+
+ 19 Nov 2006; Tristan Heaven <nyhm@gentoo.org> +kcheckers-0.8.1.ebuild:
+ Version bump
08 Oct 2006; Tristan Heaven <nyhm@gentoo.org> kcheckers-0.6.ebuild:
Fix install path
diff --git a/games-board/kcheckers/files/digest-kcheckers-0.8.1 b/games-board/kcheckers/files/digest-kcheckers-0.8.1
new file mode 100644
index 000000000000..bd7726fe7767
--- /dev/null
+++ b/games-board/kcheckers/files/digest-kcheckers-0.8.1
@@ -0,0 +1,3 @@
+MD5 793736a007cd92122dfd91bcfd14ab69 kcheckers-0.8.1.tar.gz 81431
+RMD160 d5f60526913c35a4d3fc01cda87d1fa64b9dd0b4 kcheckers-0.8.1.tar.gz 81431
+SHA256 444080f0554a1d65db32231ee18f9a662bfa6148a15cb006eba838c2463e7a2f kcheckers-0.8.1.tar.gz 81431
diff --git a/games-board/kcheckers/kcheckers-0.8.1.ebuild b/games-board/kcheckers/kcheckers-0.8.1.ebuild
new file mode 100644
index 000000000000..ef21745915b1
--- /dev/null
+++ b/games-board/kcheckers/kcheckers-0.8.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.1 2006/11/19 11:25:25 nyhm Exp $
+
+inherit eutils toolchain-funcs qt4 games
+
+DESCRIPTION="Qt version of the classic boardgame checkers"
+HOMEPAGE="http://kcheckers.wibix.de/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="$(qt4_min_version 4.1)"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i "s:/usr/local:${GAMES_DATADIR}:" \
+ common.h || die "sed common.h failed"
+
+ sed -i "s:PREFIX\"/share:\"${GAMES_DATADIR}:" \
+ main.cc toplevel.cc || die "sed failed"
+
+ echo "QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}" >> kcheckers.pro
+}
+
+src_compile() {
+ qmake || die "qmake failed"
+ emake \
+ CXX=$(tc-getCXX) \
+ LINK=$(tc-getCXX) \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin kcheckers || die "dogamesbin failed"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r i18n/* themes || die "doins failed"
+
+ newicon icons/biglogo.png ${PN}.png
+ make_desktop_entry ${PN} KCheckers
+
+ dodoc AUTHORS ChangeLog FAQ README TODO
+ prepgamesdirs
+}