Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94619 Details for
Bug 134595
[REQUEST] games-sports/maniadrive ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
maniadrive-1.1.ebuild
maniadrive-1.1.ebuild (text/plain), 2.07 KB, created by
Leszek
on 2006-08-19 11:43:09 UTC
(
hide
)
Description:
maniadrive-1.1.ebuild
Filename:
MIME Type:
Creator:
Leszek
Created:
2006-08-19 11:43:09 UTC
Size:
2.07 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >SRC="ManiaDrive-${PV}-src" >PHP="php5.2-latest.tar.gz" >MAIN="ManiaDrive-${PV}-linux-i386" >ODE="ode.tar.gz" > >DESCRIPTION="ManiaDrive is a clone of Trackmania: 3D, stunts and skills!" >HOMEPAGE="http://maniadrive.raydium.org/" >SRC_URI="mirror://sourceforge/${PN}/${MAIN}.tar.gz > mirror://sourceforge/${PN}/${SRC}.tar.gz > http://freeway.raydium.org/data/stable_mirrors/${ODE} > http://snaps.php.net/${PHP}" > >LICENSE="CCPL-Attribution-2.0 > GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND="media-libs/openal > virtual/glu > media-libs/jpeg > media-libs/libvorbis > media-libs/glew" > >S=${WORKDIR}/${SRC} >RAY=${S}/raydium >dir=${GAMES_DATADIR}/${PN} > >src_unpack() { > unpack ManiaDrive-${PV}-linux-i386.tar.gz > unpack "${SRC}.tar.gz" > > # Copy ode and php tarballs > cp "${DISTDIR}"/{"${ODE}","${PHP}"} "${RAY}" || die > mv "${RAY}"/{"${PHP}",php-latest.tar.gz} || die > > # Delete binary files > rm "${WORKDIR}/${MAIN}"/game/*.static > > # Copy game data in build directory > cp -r "${WORKDIR}/${MAIN}"/game/* "${S}" || die > > cd "${S}" > epatch "${FILESDIR}/${PN}-1.1-no-download.patch" > epatch "${FILESDIR}/${PN}-1.1-ocomp-fix.patch" > epatch "${FILESDIR}/${PN}-1.1-remove-openal-test.patch" > > # Change version to allow to send scores > sed -i "s/ManiaDrive ${PV}custom/ManiaDrive ${PV}/" mania_drive.c \ > || die 'sed failed' >} > >src_compile() { > addwrite /dev/nvidiactl > addwrite /dev/nvidia0 > > econf --no-download || die "econf failed" > emake || die "emake failed" > > # The Makefile compiles only the engine (raydium). > # We can compile the game binaries with the ocomp script > # (static using ode). > local f > for f in mania{_drive,_server,2}.c ; do > ./ocomp.sh "${f}" || die "ocomp.sh ${f} failed" > done >} > >src_install() { > local f > for f in mania{_drive,_server,2} ; do > newgamesbin "${S}/${f}" "${f}.bin" \ > || die "newgamesbin ${f} failed" > games_make_wrapper "${f}" "${f}.bin" "${dir}" > done > > insinto "${dir}" > doins -r "${WORKDIR}/${MAIN}"/game/* > > dodoc "${WORKDIR}/${MAIN}"/README >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 134595
:
94572
|
94573
|
94574
|
94575
|
94576
|
94612
| 94619 |
94836