summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/jamp/jamp-1.0.2.ebuild')
-rw-r--r--games-arcade/jamp/jamp-1.0.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/games-arcade/jamp/jamp-1.0.2.ebuild b/games-arcade/jamp/jamp-1.0.2.ebuild
new file mode 100644
index 0000000..8deda7f
--- /dev/null
+++ b/games-arcade/jamp/jamp-1.0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Squirrel Physics (codename JAMP)"
+HOMEPAGE="http://perre.noud.ch/jamp/"
+SRC_URI="http://perre.noud.ch/jamp/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+ media-libs/mesa
+ media-libs/sdl-image
+ dev-libs/box2d
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}"
+
+src_prepare(){
+ epatch ${FILESDIR}/"${P}-ownbox2d.patch"
+ sed -e "s:/usr/games:${GAMES_BINDIR}:g" -i Makefile || die "sed failed"
+}
+
+src_install() {
+ dogamesbin ${PN}
+ local datadir="${GAMES_DATADIR}"/"${PN}"
+ dodir ${datadir}
+ insinto "${GAMES_DATADIR}"/"${PN}"
+ doins -r images shapes sounds || die
+ newicon images/"${PN}.png" "${PN}.png"
+ make_desktop_entry "${PN}" "${PN}"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+}