summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 06:36:01 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 06:36:01 +0000
commit2f7b073c1bc54c873666c4522cd6cd49ac1d59df (patch)
tree072f3e7b49f6b078b595b1483277009b1f03d0f6 /games-puzzle/kiki
parentgames-puzzle (diff)
downloadgentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.tar.gz
gentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.tar.bz2
gentoo-2-2f7b073c1bc54c873666c4522cd6cd49ac1d59df.zip
games-puzzle !@
Diffstat (limited to 'games-puzzle/kiki')
-rw-r--r--games-puzzle/kiki/ChangeLog9
-rw-r--r--games-puzzle/kiki/Manifest3
-rw-r--r--games-puzzle/kiki/files/digest-kiki-0.9.01
-rw-r--r--games-puzzle/kiki/kiki-0.9.0.ebuild61
4 files changed, 74 insertions, 0 deletions
diff --git a/games-puzzle/kiki/ChangeLog b/games-puzzle/kiki/ChangeLog
new file mode 100644
index 000000000000..52b84bb0fbf7
--- /dev/null
+++ b/games-puzzle/kiki/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-games/kiki
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/kiki/ChangeLog,v 1.1 2003/09/10 06:36:00 vapier Exp $
+
+*kiki-0.9.0 (05 Aug 2003)
+
+ 05 Aug 2003; Michael Sterrett <msterret@gentoo.org> kiki-0.9.0.ebuild:
+ initial commit. ebuild supplied by Brent Kelly and modified. (bug 25977)
+
diff --git a/games-puzzle/kiki/Manifest b/games-puzzle/kiki/Manifest
new file mode 100644
index 000000000000..5525ae1b7791
--- /dev/null
+++ b/games-puzzle/kiki/Manifest
@@ -0,0 +1,3 @@
+MD5 31eafc699040619697cc447fc0cf64d5 kiki-0.9.0.ebuild 1658
+MD5 20ceb471b61afe0da30d1217409a201d ChangeLog 389
+MD5 9721438ad8f7d2ff3cadd7c82d71eb94 files/digest-kiki-0.9.0 64
diff --git a/games-puzzle/kiki/files/digest-kiki-0.9.0 b/games-puzzle/kiki/files/digest-kiki-0.9.0
new file mode 100644
index 000000000000..1f8c68b9ed64
--- /dev/null
+++ b/games-puzzle/kiki/files/digest-kiki-0.9.0
@@ -0,0 +1 @@
+MD5 60ec6bdf0196c9c934f683d3bf7a12ea kiki-src-0.9.0.tgz 2978977
diff --git a/games-puzzle/kiki/kiki-0.9.0.ebuild b/games-puzzle/kiki/kiki-0.9.0.ebuild
new file mode 100644
index 000000000000..8da9a15a96a1
--- /dev/null
+++ b/games-puzzle/kiki/kiki-0.9.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/kiki/kiki-0.9.0.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $
+
+inherit games
+
+DATA="${GAMES_DATADIR}/${PN}"
+S="${WORKDIR}"
+DESCRIPTION="Fun 3D puzzle game using SDL/OpenGL"
+HOMEPAGE="http://kiki.sourceforge.net/"
+SRC_URI="mirror://sourceforge/kiki/${PN}-src-${PV}.tgz"
+
+LICENSE="public-domain"
+KEYWORDS="x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-image-1.2.2
+ >=media-libs/sdl-mixer-1.2.5
+ >=dev-lang/python-2.2
+ virtual/glut"
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-3
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # There are CVS directories in the tgz file
+ rm -rf `find -name CVS -type d`
+ rm -rf `find -name .cvsignore`
+
+ # Change the hard-coded data dir for sounds, etc...
+ sed -i \
+ -e "s:kiki_home += \"/\";:kiki_home = \"${DATA}/\";:g" \
+ -e "s:KConsole\:\:printf(\"WARNING \:\: environment variable KIKI_HOME not set ...\");::g" \
+ -e "s:KConsole\:\:printf(\" ... assuming resources in current directory\");::g" \
+ kiki_src/kiki/src/main/KikiController.cpp || \
+ die "sed KikiController.cpp failed"
+}
+
+
+src_compile() {
+ cd ${S}/kiki_src/kodilib/linux
+ emake || die "emake in kodilib/linux failed"
+ cd ${S}/kiki_src/kiki/linux
+ emake || die "emake in kiki/linux failed"
+}
+
+src_install() {
+ dogamesbin ${S}/kiki_src/kiki/linux/kiki
+
+ dodir ${DATA}/misc ${DATA}/py ${DATA}/sounds
+ cp -R ${S}/kiki_src/kiki/{misc,py,sounds} ${D}${DATA}
+
+ cd ${S}/kiki_src/kiki
+ dodoc Readme.txt Thanks.txt "uDevGame Readme.txt"
+ prepgamesdirs
+}