summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/supertux/Manifest6
-rw-r--r--games-arcade/supertux/files/digest-supertux-0.0.51
-rw-r--r--games-arcade/supertux/supertux-0.0.4.ebuild4
-rw-r--r--games-arcade/supertux/supertux-0.0.5.ebuild39
4 files changed, 45 insertions, 5 deletions
diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest
index 1cec43dd4d59..3e934c08ec0a 100644
--- a/games-arcade/supertux/Manifest
+++ b/games-arcade/supertux/Manifest
@@ -1,6 +1,6 @@
-MD5 98850083a733b14121744bd9f012aa63 ChangeLog 400
-MD5 0b61b51c227c16136cd06492dc171245 supertux-0.0.4.ebuild 1049
+MD5 6eb9a3119b543a182cdf440fef89eda6 ChangeLog 528
+MD5 6f17079a321414e786af098b39867558 supertux-0.0.4.ebuild 1050
MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245
-MD5 41c02b669de83fd0bfde26c0c2376f9a supertux-0.0.5.ebuild 1051
+MD5 11475d9b4c6ccb69e644782a4b139f13 supertux-0.0.5.ebuild 1088
MD5 0a3308841e7c1506171ef6285d6129e3 files/digest-supertux-0.0.4 67
MD5 badf4fe222c16b4199bd4b35867e0f77 files/digest-supertux-0.0.5 68
diff --git a/games-arcade/supertux/files/digest-supertux-0.0.5 b/games-arcade/supertux/files/digest-supertux-0.0.5
new file mode 100644
index 000000000000..1510b60a1699
--- /dev/null
+++ b/games-arcade/supertux/files/digest-supertux-0.0.5
@@ -0,0 +1 @@
+MD5 2cf2dcb70f87c69d8654d755b0265d29 supertux-0.0.5.tar.bz2 1172905
diff --git a/games-arcade/supertux/supertux-0.0.4.ebuild b/games-arcade/supertux/supertux-0.0.4.ebuild
index 6a9ea106e5f6..5c7c58b4e1b4 100644
--- a/games-arcade/supertux/supertux-0.0.4.ebuild
+++ b/games-arcade/supertux/supertux-0.0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.0.4.ebuild,v 1.1 2003/09/12 01:52:45 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.0.4.ebuild,v 1.2 2004/01/01 01:31:06 mr_bones_ Exp $
inherit games
diff --git a/games-arcade/supertux/supertux-0.0.5.ebuild b/games-arcade/supertux/supertux-0.0.5.ebuild
new file mode 100644
index 000000000000..98ae009b1401
--- /dev/null
+++ b/games-arcade/supertux/supertux-0.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.0.5.ebuild,v 1.1 2004/01/01 01:31:06 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A game similar to Super Mario Bros."
+HOMEPAGE="http://www.newbreedsoftware.com/supertux/"
+SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/supertux/src/${P}.tar.bz2"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND=">=media-libs/libsdl-1.1.5
+ >=media-libs/sdl-image-1.2.2
+ >=media-libs/sdl-mixer-1.2.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "/^DATA_PREFIX=/ s:=.*:=${GAMES_DATADIR}/${PN}/:" \
+ -e "/^JOY=/ s/YES/NO/" \
+ -e "s:-O2:${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin supertux || die "dogamesbin failed"
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -r data/{images,sounds,music,levels} "${D}${GAMES_DATADIR}/${PN}/" || \
+ die "cp failed"
+ dodoc {AUTHORS,CHANGES,INSTALL,README,TODO}.txt || die "dodoc failed"
+ prepgamesdirs
+}