summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/stormbaancoureur')
-rw-r--r--games-sports/stormbaancoureur/ChangeLog8
-rw-r--r--games-sports/stormbaancoureur/stormbaancoureur-2.1.4.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/games-sports/stormbaancoureur/ChangeLog b/games-sports/stormbaancoureur/ChangeLog
index dac2a4e27fe0..cc892de0627b 100644
--- a/games-sports/stormbaancoureur/ChangeLog
+++ b/games-sports/stormbaancoureur/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/stormbaancoureur
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/ChangeLog,v 1.10 2008/03/23 07:03:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/ChangeLog,v 1.11 2008/04/21 21:15:03 mr_bones_ Exp $
+
+*stormbaancoureur-2.1.4 (21 Apr 2008)
+
+ 21 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +stormbaancoureur-2.1.4.ebuild:
+ version bump
*stormbaancoureur-2.1.3 (23 Mar 2008)
diff --git a/games-sports/stormbaancoureur/stormbaancoureur-2.1.4.ebuild b/games-sports/stormbaancoureur/stormbaancoureur-2.1.4.ebuild
new file mode 100644
index 000000000000..281dc9489cb9
--- /dev/null
+++ b/games-sports/stormbaancoureur/stormbaancoureur-2.1.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/stormbaancoureur-2.1.4.ebuild,v 1.1 2008/04/21 21:15:03 mr_bones_ Exp $
+
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="Simulated obstacle course for automobiles"
+HOMEPAGE="http://www.sturmbahnfahrer.com/"
+SRC_URI="http://bram.creative4vision.nl/stormbaancoureur/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ virtual/glu
+ virtual/glut
+ >=dev-games/ode-0.8
+ >=media-libs/plib-1.8.4
+ media-libs/alsa-lib"
+
+S=${WORKDIR}/${P}/src-${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "/dirprefix \?=\"/s:=.*: = \"${GAMES_DATADIR}/${PN}\";:" main.cxx \
+ || die "sed failed"
+
+ sed -i \
+ -e "/^CXX=/s:g++:$(tc-getCXX):" \
+ -e '/Wall/d' \
+ -e "/^CXXFLAGS/ s%=%= ${CXXFLAGS} %" \
+ -e '/DGAMEVERSION/s:\\::' \
+ -e '/^LFLAGS=/s:=:= $(LDFLAGS) :' \
+ -e 's:$(ODEPREFIX)/$(LIBDIRNAME)/libode.a:-lode:' \
+ Makefile || die "sed failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r images/ models/ sounds/ shaders/ || die "doins failed"
+ dodoc JOYSTICKS README TODO
+ make_desktop_entry ${PN} "Stormbaan Coureur"
+ prepgamesdirs
+}