summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-24 00:45:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-24 00:45:11 +0000
commitfde0cc90d6999c78e06a1468e3e486c647505d4a (patch)
tree1c8f29394b490bd6d68522438ab2b5ecc8837b18 /games-sports/vdrift
parentSwitch to eapi2 so the built_with_use can be replaced by a proper use-depend.... (diff)
downloadhistorical-fde0cc90d6999c78e06a1468e3e486c647505d4a.tar.gz
historical-fde0cc90d6999c78e06a1468e3e486c647505d4a.tar.bz2
historical-fde0cc90d6999c78e06a1468e3e486c647505d4a.zip
EAPI=2; pass -j from MAKEOPTS to scons
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r--games-sports/vdrift/ChangeLog8
-rw-r--r--games-sports/vdrift/Manifest4
-rw-r--r--games-sports/vdrift/vdrift-20080805.ebuild16
3 files changed, 16 insertions, 12 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog
index 58d0bb621b69..5ed182780f53 100644
--- a/games-sports/vdrift/ChangeLog
+++ b/games-sports/vdrift/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/vdrift
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.5 2008/08/24 21:03:58 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.6 2009/02/24 00:45:11 mr_bones_ Exp $
+
+ 24 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ vdrift-20080805.ebuild:
+ EAPI=2; pass -j from MAKEOPTS to scons
*vdrift-20080805 (24 Aug 2008)
diff --git a/games-sports/vdrift/Manifest b/games-sports/vdrift/Manifest
index 0e56cf07deb1..25ffe6c3e7cb 100644
--- a/games-sports/vdrift/Manifest
+++ b/games-sports/vdrift/Manifest
@@ -4,6 +4,6 @@ DIST vdrift-2007-03-23-data-minimal.tar.bz2 14647572 RMD160 f6838ad8c6bb75be6ee2
DIST vdrift-2007-03-23-src.tar.bz2 1232857 RMD160 bd7fdbcd2bb76015eed1e09a6cc4bcc1df081f20 SHA1 0fd5ed65aa5b987c75d5214ab45384ce0e5d2132 SHA256 ed2d7d80663781604f56e307f9a77c19f255110673ad57e3ba917ea6c93c802a
DIST vdrift-2008-08-05-src.tar.bz2 287073224 RMD160 515f0d50b5f8865dd4bbaee06b2918a9b8244bea SHA1 24d7695177eaaaf41746ab028ef866eaf7a26ed5 SHA256 79f91995a5a5b2c07e825d6ed8d3a034cc974b83a181d866347c8e837a1f649e
EBUILD vdrift-20070323.ebuild 1697 RMD160 0100ef3d64f63bbb12989aee9c3fc45b4822c58c SHA1 e429adbd78c54e2e6ac740282c20f0c1e2234b74 SHA256 fc3d4f4f98c63a6ee805b3026e015c6a0290acdee1921a6beda440ec8ad96ccc
-EBUILD vdrift-20080805.ebuild 1888 RMD160 6bd95c01b27888a84f7f0669c30a8a657ff9807f SHA1 5826de219c6256c522b04b6cfd2b70af449e7a74 SHA256 b1e1275db66ee043a3f95ebefe7d85f9cc113bb4273578546235da1e988d03ef
-MISC ChangeLog 842 RMD160 be54ab2ef6ccdc7097af65c03b504c1cc203524d SHA1 2346b87084a5bdab4988a1c22f35018b6d237752 SHA256 ac815a969e13274d56d105902939d9b123d6dfae6d95f413034da55c758d9a37
+EBUILD vdrift-20080805.ebuild 1921 RMD160 7b7564be59db64d984d28014d5dc217c31846106 SHA1 b6ff1e2016aa9f820cca6410f01047283fee96e2 SHA256 fdda7c89e800579289c101f7e8e9c5101aac4d2427e63d05d6018eb4b982e433
+MISC ChangeLog 965 RMD160 310f0105185f72812f4ecce869a0a00c0d274fa9 SHA1 20396c4909010ef265c4aaf917aefbe0b911aab4 SHA256 c3013e311a59ed527bafe50e480d41a4c48c1d72f04cc0346f5fcfea64a947e3
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-sports/vdrift/vdrift-20080805.ebuild b/games-sports/vdrift/vdrift-20080805.ebuild
index 46cb2032f183..9c72d6b646b5 100644
--- a/games-sports/vdrift/vdrift-20080805.ebuild
+++ b/games-sports/vdrift/vdrift-20080805.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild,v 1.1 2008/08/24 21:03:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild,v 1.2 2009/02/24 00:45:11 mr_bones_ Exp $
-inherit eutils toolchain-funcs games
+EAPI=2
+inherit eutils games
MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6}
DESCRIPTION="A driving simulation made with drift racing in mind"
@@ -32,9 +33,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${PV:4:2}-${PV:6:2}-${PV:2:2}
-src_unpack() {
- unpack ${MY_P}-src.tar.bz2
- cd "${S}"
+src_prepare() {
sed -i \
-e '/-O2/ s/\(\[.*\]\)/[]/' \
SConstruct \
@@ -46,14 +45,15 @@ src_unpack() {
}
src_compile() {
- tc-export CC CXX
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
cd bullet-2.66
./configure
- jam bulletcollision bulletmath
+ jam bulletcollision bulletmath || die
cd "${S}"
scons \
+ ${sconsopts} \
NLS=$(use nls && echo 1 || echo 0) \
destdir="${D}" \
bindir="${GAMES_BINDIR}" \