From 8e0d1dab29d4e5b8c45fb73990cd60016e195fa0 Mon Sep 17 00:00:00 2001 From: Marcel Unbehaun Date: Mon, 12 Oct 2009 17:09:42 +0200 Subject: (dev-libs/box2d) initial box2d-2.0.1.ebuild (dev-libs/box2d) new Manifest (dev-libs/box2d) new files/box2d-2.0.1-gcc4.patch (dev-libs/box2d) new metadata.xml (games-arcade/jamp) new Manifest (games-arcade/jamp) new files/jamp-1.0.2-ownbox2d.patch (games-arcade/jamp) initial jamp-1.0.2.ebuild (games-arcade/jamp) new metadata.xml --- games-arcade/jamp/jamp-1.0.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 games-arcade/jamp/jamp-1.0.2.ebuild (limited to 'games-arcade/jamp/jamp-1.0.2.ebuild') 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 +} -- cgit v1.2.3