summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/torcs/torcs-1.2.1.ebuild')
-rw-r--r--games-sports/torcs/torcs-1.2.1.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/games-sports/torcs/torcs-1.2.1.ebuild b/games-sports/torcs/torcs-1.2.1.ebuild
deleted file mode 100644
index 28f3a14f12a0..000000000000
--- a/games-sports/torcs/torcs-1.2.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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.5 2004/07/14 15:00:18 agriffis 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"
-IUSE=""
-
-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} emake -j1 || die
-}
-
-src_install() {
- 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
-}