summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-sports/toycars/ChangeLog8
-rw-r--r--games-sports/toycars/files/digest-toycars-0.3.33
-rw-r--r--games-sports/toycars/files/toycars-0.3.3-asneeded.patch10
-rw-r--r--games-sports/toycars/toycars-0.3.3.ebuild39
4 files changed, 59 insertions, 1 deletions
diff --git a/games-sports/toycars/ChangeLog b/games-sports/toycars/ChangeLog
index 21ff4b9f2ef3..453f1bf971a8 100644
--- a/games-sports/toycars/ChangeLog
+++ b/games-sports/toycars/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/toycars
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.7 2007/04/25 22:20:05 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.8 2007/05/22 16:08:03 nyhm Exp $
+
+*toycars-0.3.3 (22 May 2007)
+
+ 22 May 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/toycars-0.3.3-asneeded.patch, +toycars-0.3.3.ebuild:
+ Version bump
04 Apr 2007; Samuli Suominen <drac@gentoo.org>
files/toycars-0.3.2-asneeded.patch:
diff --git a/games-sports/toycars/files/digest-toycars-0.3.3 b/games-sports/toycars/files/digest-toycars-0.3.3
new file mode 100644
index 000000000000..207d52bc2851
--- /dev/null
+++ b/games-sports/toycars/files/digest-toycars-0.3.3
@@ -0,0 +1,3 @@
+MD5 fef0de40f5921c7b13866222a583129d toycars-0.3.3.tar.gz 5336046
+RMD160 8d6e296875da1fb5177377a18b28c2b0b6e34212 toycars-0.3.3.tar.gz 5336046
+SHA256 0a62e2b48f2371fcdab17f016eb2e16a53489914d877bc106c7550e163f13c07 toycars-0.3.3.tar.gz 5336046
diff --git a/games-sports/toycars/files/toycars-0.3.3-asneeded.patch b/games-sports/toycars/files/toycars-0.3.3-asneeded.patch
new file mode 100644
index 000000000000..a2a110b80e0b
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.3-asneeded.patch
@@ -0,0 +1,10 @@
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -13,6 +13,4 @@
+ ./glf/libglf.a \
+ ./MyFisix/libmyfisix.a \
+ ./Scoobie/libscoobie.a \
+- ./tinyxml/libtinyxml.a
+-
+-toycars_LDFLAGS = @SDL_LIBS@ @GLU_LIBS@ @OpenAL_LIBS@
++ ./tinyxml/libtinyxml.a @SDL_LIBS@ @GLU_LIBS@ @OpenAL_LIBS@
diff --git a/games-sports/toycars/toycars-0.3.3.ebuild b/games-sports/toycars/toycars-0.3.3.ebuild
new file mode 100644
index 000000000000..cbb55dca8fe1
--- /dev/null
+++ b/games-sports/toycars/toycars-0.3.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/toycars-0.3.3.ebuild,v 1.1 2007/05/22 16:08:03 nyhm Exp $
+
+inherit autotools eutils games
+
+DESCRIPTION="a physics based 2-D racer inspired by Micro Machines"
+HOMEPAGE="http://sourceforge.net/projects/toycars"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/openal
+ media-libs/freealut
+ virtual/glu
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_install() {
+ dogamesbin src/${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data || die "doins failed"
+ newicon celica-render.png ${PN}.png
+ make_desktop_entry ${PN} "Toy Cars"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}