summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-05 01:54:53 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-05 01:54:53 +0000
commit6a290a90b5aae2021fdc5be682131fb81bd3d181 (patch)
tree00dae7f495ff175776e2abf52f5cf6bd0411809b /games-puzzle/neverball/neverball-1.1.0.ebuild
parentfix bug #40409, RDEPEND not carried thru properly! (diff)
downloadgentoo-2-6a290a90b5aae2021fdc5be682131fb81bd3d181.tar.gz
gentoo-2-6a290a90b5aae2021fdc5be682131fb81bd3d181.tar.bz2
gentoo-2-6a290a90b5aae2021fdc5be682131fb81bd3d181.zip
ver bump
Diffstat (limited to 'games-puzzle/neverball/neverball-1.1.0.ebuild')
-rw-r--r--games-puzzle/neverball/neverball-1.1.0.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/games-puzzle/neverball/neverball-1.1.0.ebuild b/games-puzzle/neverball/neverball-1.1.0.ebuild
new file mode 100644
index 000000000000..d9d7a615337e
--- /dev/null
+++ b/games-puzzle/neverball/neverball-1.1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/neverball-1.1.0.ebuild,v 1.1 2004/02/05 01:54:53 vapier Exp $
+
+inherit games eutils
+
+DATA="${GAMES_DATADIR}/${PN}/data"
+DESCRIPTION="Clone of Super Monkey Ball using SDL/OpenGL"
+HOMEPAGE="http://icculus.org/neverball/"
+SRC_URI="http://icculus.org/neverball/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-mixer-1.2.5
+ >=media-libs/sdl-image-1.2.2
+ media-libs/sdl-ttf
+ virtual/glut"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc2.patch
+ sed -i "/CONFIG_PATH/s:\"\./data\":\"${DATA}\":g" config.h \
+ || die "sed config.h failed"
+ sed -i \
+ -e "s:-Wall -O3:${CFLAGS}:" \
+ -e "s:^include:-include:" Makefile \
+ || die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin neverball
+
+ rm -f data/Makefile*
+ dodir ${DATA}
+ cp -R ${S}/data/* ${D}/${DATA}/
+
+ dodoc CHANGES MAPPING README
+ prepgamesdirs
+}