summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrytzz <krytzz@soylent.eu>2010-02-07 03:29:19 +0100
committerkrytzz <krytzz@soylent.eu>2010-02-07 03:29:19 +0100
commitf8186304db6ad2e5c64ab210de89966c08fbafc5 (patch)
tree6aa7a2c563acde2386912634260e537c06ef5461 /games-puzzle
parent[games-engines/love] added, no docs yet (diff)
downloadgamerlay-f8186304db6ad2e5c64ab210de89966c08fbafc5.tar.gz
gamerlay-f8186304db6ad2e5c64ab210de89966c08fbafc5.tar.bz2
gamerlay-f8186304db6ad2e5c64ab210de89966c08fbafc5.zip
[games-engines/caph] added, ebuild could be better
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/caph/Manifest4
-rw-r--r--games-puzzle/caph/caph-20091231.ebuild39
-rw-r--r--games-puzzle/caph/metadata.xml9
3 files changed, 52 insertions, 0 deletions
diff --git a/games-puzzle/caph/Manifest b/games-puzzle/caph/Manifest
new file mode 100644
index 0000000..0ff4579
--- /dev/null
+++ b/games-puzzle/caph/Manifest
@@ -0,0 +1,4 @@
+DIST caph-data-091231.tar.bz2 522727 RMD160 a33d771db18021e1e9aa80c86f918053907621c6 SHA1 a1d9340ec6554c9c3497ee1d868d4a2322f379af SHA256 75ebe2a45a825daeb68ed7bca29b9ba4afb29f11f766cdd4a2e512195325731b
+DIST caph-src-091231.tar.bz2 29093 RMD160 2d0c217dcaa61688bc45bfe979148266b56187fc SHA1 3647b3737358590a994897758a86bdb79f01d68b SHA256 36617e81d94406c424b0f629c7411d4c47ca1e6b147b9b3711ceb880aafd3492
+EBUILD caph-20091231.ebuild 1008 RMD160 4a8e041ade47eaef624c3e964af4198a043fbc3f SHA1 34c115d4ae1ed17a31735ade472f26aec58daefc SHA256 eea30edf91cd683755be36c0967684d542bdd273266519243732793e2a5953a4
+MISC metadata.xml 248 RMD160 ee88d37caf1c3d23017cbb8f7c4e1ea2778ef0d6 SHA1 86a6b9bad810bc86f91fe2dfa2b0f0d0c812ea68 SHA256 3fd8a78020dbbcd51f57289f40a144d3dde762d883dc1f61e93b1a2b449ed6a4
diff --git a/games-puzzle/caph/caph-20091231.ebuild b/games-puzzle/caph/caph-20091231.ebuild
new file mode 100644
index 0000000..df4ba92
--- /dev/null
+++ b/games-puzzle/caph/caph-20091231.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit games
+
+DESCRIPTION="sandbox physics game"
+HOMEPAGE="http://sourceforge.net/projects/caphgame"
+SRC_URI="mirror://sourceforge/caphgame/${PN}-091231/${PN}-src-091231.tar.bz2
+ mirror://sourceforge/caphgame/${PN}-091231/${PN}-data-091231.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-libs/libpng
+ media-libs/libsdl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i "s:../share/${PN}:${GAMES_DATADIR}/${PN}:" ${PN}-src/src/${PN}.c || die "sed failed"
+ sed -i "s:return dir;:return SYS_DATA_DIR;:" ${PN}-src/src/${PN}.c || die "sed failed"
+}
+
+src_compile() {
+ cd "${PN}-src/src"
+ ./build || die "build failed"
+}
+
+src_install() {
+ dogamesbin "caph-src/bin/caph" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"
+ doins -r "${PN}-data/share/${PN}" || die "install failed"
+ dodoc "${PN}-src/doc/${PN}/README" || die "dodoc failed"
+ prepgamesdirs
+}
diff --git a/games-puzzle/caph/metadata.xml b/games-puzzle/caph/metadata.xml
new file mode 100644
index 0000000..0e8e75c
--- /dev/null
+++ b/games-puzzle/caph/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>krytzz@soylent.eu</email>
+ <name>steffen stramm</name>
+</maintainer>
+<herd>games</herd>
+</pkgmetadata>