summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-11 12:26:35 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-11 12:26:35 +0000
commit47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b (patch)
treefb3668b891be6dd444a1643d20573e4224e149a3 /games-sports/torcs
parentsimulation games (diff)
downloadgentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.gz
gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.bz2
gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.zip
sports games !
Diffstat (limited to 'games-sports/torcs')
-rw-r--r--games-sports/torcs/ChangeLog35
-rw-r--r--games-sports/torcs/Manifest3
-rw-r--r--games-sports/torcs/files/digest-torcs-1.2.16
-rw-r--r--games-sports/torcs/torcs-1.2.1.ebuild42
4 files changed, 86 insertions, 0 deletions
diff --git a/games-sports/torcs/ChangeLog b/games-sports/torcs/ChangeLog
new file mode 100644
index 000000000000..6dc4dd9409ec
--- /dev/null
+++ b/games-sports/torcs/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for app-games/torcs
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.1 2003/09/11 12:26:35 vapier Exp $
+
+*torcs-1.2.1 (16 Jul 2003)
+
+ 16 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #24061 + games.eclass support.
+
+*torcs-1.0.0-r1 (7 May 2002)
+
+ 11 Jul 2003; Michael Sterrett <msterret@gentoo.org> torcs-1.0.0-r1.ebuild:
+ fix DESCRIPTION
+
+ 30 Jun 2003; Michael Sterrett <msterret@gentoo.org> torcs-1.0.0-r1.ebuild:
+ use sed -i; sed things in unpack instead of compile; tidy
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> torcs-1.0.0-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 7 May 2002; Spider <spider@gentoo.org> torcs-1.0.0-r1.ebuild :
+ fix sourceforge mirroring.
+
+*torcs-1.0.0-r1 (29 Mar 2002)
+
+ 29 Mar 2002; Bruce A. Locke <blocke@shivan.org> ChangeLog :
+
+ Moved from /usr/share/torcs to /opt/torcs (it really wants to be in /opt
+ based on its directory strucutre) and torcs script modified
+
+*torcs-1.0.0 (11 Feb 2002)
+
+ 11 Feb 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ Initial version, based on ebuild submission.
diff --git a/games-sports/torcs/Manifest b/games-sports/torcs/Manifest
new file mode 100644
index 000000000000..1aae7e9308a2
--- /dev/null
+++ b/games-sports/torcs/Manifest
@@ -0,0 +1,3 @@
+MD5 f1cf989071a4da657bd3a2a1412e8bc7 files/digest-torcs-1.2.1 448
+MD5 bd5d48ad410ae4a5caeeb023d6ced55d ChangeLog 1190
+MD5 2ba2938dc4c6636237aefb532df401fd torcs-1.2.1.ebuild 1276
diff --git a/games-sports/torcs/files/digest-torcs-1.2.1 b/games-sports/torcs/files/digest-torcs-1.2.1
new file mode 100644
index 000000000000..0783de019ec0
--- /dev/null
+++ b/games-sports/torcs/files/digest-torcs-1.2.1
@@ -0,0 +1,6 @@
+MD5 5e43742b252f1e96f8d93da82b8f9fbb TORCS-1.2.1-src.tgz 2098335
+MD5 b7c8729b122d1a3bc1fc563783828d12 TORCS-1.2.1-data.tgz 10269614
+MD5 afb991a29f875e2030f2ad24d82d2c22 TORCS-1.2.1-data-tracks-base.tgz 8412930
+MD5 1b96f6f9eedda8d1857f9bd112664ab6 TORCS-1.2.1-data-cars-extra.tgz 1454800
+MD5 dddb6ffec22c15a9f8c60d0c69a806cf TORCS-1.2.1-data-cars-Patwo-Design.tgz 1024834
+MD5 f21e4e88c2d6982efb28798d02b1c491 TORCS-1.2.1-src-robots-base.tgz 1573904
diff --git a/games-sports/torcs/torcs-1.2.1.ebuild b/games-sports/torcs/torcs-1.2.1.ebuild
new file mode 100644
index 000000000000..2b208878a9d4
--- /dev/null
+++ b/games-sports/torcs/torcs-1.2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.2.1.ebuild,v 1.1 2003/09/11 12:26:35 vapier Exp $
+
+inherit games
+
+DESCRIPTION="The Open Racing Car Simulator"
+HOMEPAGE="http://torcs.org/"
+SRC_URI="mirror://sourceforge/torcs/TORCS-${PV}-src.tgz
+ mirror://sourceforge/torcs/TORCS-${PV}-data.tgz
+ mirror://sourceforge/torcs/TORCS-${PV}-data-tracks-base.tgz
+ mirror://sourceforge/torcs/TORCS-${PV}-data-cars-extra.tgz
+ mirror://sourceforge/torcs/TORCS-${PV}-data-cars-Patwo-Design.tgz
+ mirror://sourceforge/torcs/TORCS-${PV}-src-robots-base.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/plib-1.6
+ >=sys-apps/sed-4
+ virtual/opengl
+ virtual/glut
+ media-libs/libpng
+ sys-libs/zlib"
+
+src_compile() {
+ sed -i "/^instdir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" Make-config.in
+ egamesconf \
+ --libdir=${GAMES_LIBDIR}/${PN} \
+ || die
+ env HOME=${T} make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dosed "s:DEFAULT_RUNTIME=.*:DEFAULT_RUNTIME=${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/torcs
+ mv ${WORKDIR}/{cars,categories,data,menu,tracks} ${D}/${GAMES_DATADIR}/${PN}/
+ dodoc README.linux
+ dohtml *.html *.png
+ prepgamesdirs
+}