summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-17 07:17:04 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-17 07:17:04 +0000
commit77b5c19564a09a798835c1db3f4a5bcfdadd82e4 (patch)
tree23992639b1f03523527c757e647f13db37dfb8a1 /games-sports/torcs
parentarm/s390 love (diff)
downloadgentoo-2-77b5c19564a09a798835c1db3f4a5bcfdadd82e4.tar.gz
gentoo-2-77b5c19564a09a798835c1db3f4a5bcfdadd82e4.tar.bz2
gentoo-2-77b5c19564a09a798835c1db3f4a5bcfdadd82e4.zip
Version bump #80983 by Kåre Baastrup et al.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'games-sports/torcs')
-rw-r--r--games-sports/torcs/ChangeLog9
-rw-r--r--games-sports/torcs/files/digest-torcs-1.2.31
-rw-r--r--games-sports/torcs/torcs-1.2.3.ebuild42
3 files changed, 50 insertions, 2 deletions
diff --git a/games-sports/torcs/ChangeLog b/games-sports/torcs/ChangeLog
index 78427f08cf09..22914a910d19 100644
--- a/games-sports/torcs/ChangeLog
+++ b/games-sports/torcs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/torcs
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.7 2004/12/28 23:38:21 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.8 2005/07/17 07:17:04 vapier Exp $
+
+*torcs-1.2.3 (17 Jul 2005)
+
+ 17 Jul 2005; Mike Frysinger <vapier@gentoo.org> +torcs-1.2.3.ebuild:
+ Version bump #80983 by Kåre Baastrup et al.
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/games-sports/torcs/files/digest-torcs-1.2.3 b/games-sports/torcs/files/digest-torcs-1.2.3
new file mode 100644
index 000000000000..ca15a9d65809
--- /dev/null
+++ b/games-sports/torcs/files/digest-torcs-1.2.3
@@ -0,0 +1 @@
+MD5 459007a30be48232afe45e198125fe95 torcs-1.2.3.tar.bz2 91853975
diff --git a/games-sports/torcs/torcs-1.2.3.ebuild b/games-sports/torcs/torcs-1.2.3.ebuild
new file mode 100644
index 000000000000..5d17daace554
--- /dev/null
+++ b/games-sports/torcs/torcs-1.2.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.2.3.ebuild,v 1.1 2005/07/17 07:17:04 vapier Exp $
+
+inherit games
+
+DESCRIPTION="The Open Racing Car Simulator"
+HOMEPAGE="http://torcs.org/"
+SRC_URI="mirror://sourceforge/torcs/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/plib-1.8.3
+ virtual/opengl
+ virtual/glut
+ media-libs/libpng
+ sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^datadir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" \
+ Make-config.in \
+ || die "sed Make-config.in failed"
+}
+
+src_compile() {
+ egamesconf --x-libraries=/usr/lib || die
+ emake -j1 || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install datainstall || die "make install failed"
+ dosed "s:DATADIR=.*:DATADIR=${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/torcs
+ dodoc README.linux
+ dohtml *.html *.png
+ prepgamesdirs
+}