summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-16 09:39:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-16 09:39:49 +0000
commit8b111d7a365f8f25c08716b8e8986255e7a92cc0 (patch)
treeddf0833c0a6dbe7918afdb76ffdf6767ab7aa8d2 /games-puzzle/neverball/neverball-1.4.0.ebuild
parentstable ppc bug: 62626 (Manifest recommit) (diff)
downloadgentoo-2-8b111d7a365f8f25c08716b8e8986255e7a92cc0.tar.gz
gentoo-2-8b111d7a365f8f25c08716b8e8986255e7a92cc0.tar.bz2
gentoo-2-8b111d7a365f8f25c08716b8e8986255e7a92cc0.zip
version bump (bug #64219)
Diffstat (limited to 'games-puzzle/neverball/neverball-1.4.0.ebuild')
-rw-r--r--games-puzzle/neverball/neverball-1.4.0.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/games-puzzle/neverball/neverball-1.4.0.ebuild b/games-puzzle/neverball/neverball-1.4.0.ebuild
new file mode 100644
index 000000000000..2d3a77778209
--- /dev/null
+++ b/games-puzzle/neverball/neverball-1.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/neverball-1.4.0.ebuild,v 1.1 2004/09/16 09:39:49 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="Clone of Super Monkey Ball using SDL/OpenGL"
+HOMEPAGE="http://icculus.org/neverball/"
+SRC_URI="http://icculus.org/neverball/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc amd64"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-mixer-1.2.5
+ >=media-libs/sdl-image-1.2.2
+ media-libs/sdl-ttf
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/CONFIG_DATA/s:"\./data":"'${GAMES_DATADIR}/${PN}'":g' \
+ share/config.h \
+ || die "sed config.h failed"
+ sed -i \
+ -e 's:-O3:$(E_CFLAGS):' \
+ -e "/^MAPC_TARG/s/mapc/${PN}-mapc/" \
+ Makefile \
+ || die "sed Makefile failed"
+ find data/ -type f -exec chmod a-x \{\} \;
+}
+
+src_compile() {
+ emake E_CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN}-mapc neverball neverputt || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R data/* "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed"
+ dodoc CHANGES README
+ prepgamesdirs
+}