summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 04:57:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 04:57:29 +0000
commit47a702e33335243cfc45d827304d09528bee86d8 (patch)
treedd2c240e23a28c7aac40bf70f2d94c628bc5a466 /games-sports/torcs
parentAdding gnome-a11y stuff (Manifest recommit) (diff)
downloadgentoo-2-47a702e33335243cfc45d827304d09528bee86d8.tar.gz
gentoo-2-47a702e33335243cfc45d827304d09528bee86d8.tar.bz2
gentoo-2-47a702e33335243cfc45d827304d09528bee86d8.zip
don't rdepend on sed
Diffstat (limited to 'games-sports/torcs')
-rw-r--r--games-sports/torcs/ChangeLog5
-rw-r--r--games-sports/torcs/torcs-1.2.1.ebuild17
2 files changed, 14 insertions, 8 deletions
diff --git a/games-sports/torcs/ChangeLog b/games-sports/torcs/ChangeLog
index 360638b4951c..20cd32798882 100644
--- a/games-sports/torcs/ChangeLog
+++ b/games-sports/torcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-sports/torcs
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.4 2004/02/27 10:59:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.5 2004/03/24 04:57:29 mr_bones_ Exp $
+
+ 23 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> torcs-1.2.1.ebuild:
+ don't rdepend on sed
27 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> torcs-1.2.2.ebuild:
MAKEOPTS="-j1" to fix bug #43071
diff --git a/games-sports/torcs/torcs-1.2.1.ebuild b/games-sports/torcs/torcs-1.2.1.ebuild
index 0dccea00ba55..9c18b9250bdf 100644
--- a/games-sports/torcs/torcs-1.2.1.ebuild
+++ b/games-sports/torcs/torcs-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.2 2004/02/26 10:36:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.2.1.ebuild,v 1.3 2004/03/24 04:57:29 mr_bones_ Exp $
inherit games
@@ -17,25 +17,28 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-DEPEND=">=media-libs/plib-1.6
- >=sys-apps/sed-4
+RDEPEND=">=media-libs/plib-1.6
virtual/opengl
virtual/glut
media-libs/libpng
sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_compile() {
sed -i "/^instdir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" Make-config.in
egamesconf \
--libdir=${GAMES_LIBDIR}/${PN} \
|| die
- env HOME=${T} make || die
+ env HOME=${T} emake -j1 || 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}/
+ make DESTDIR="${D}" install || die "make install failed"
+ 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