Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83051 Details for
Bug 111566
games-fps/sauerbraten add build-from-source ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sauerbraten-0.0.20060320.ebuild
sauerbraten-0.0.20060320.ebuild (text/plain), 2.44 KB, created by
Paul Bredbury
on 2006-03-24 16:19:48 UTC
(
hide
)
Description:
sauerbraten-0.0.20060320.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-03-24 16:19:48 UTC
Size:
2.44 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit versionator eutils autotools games > >DATE=$(get_version_component_range 3-3) >MY_PV=${DATE:0:4}_${DATE:4:2}_${DATE:6:2} >EDITION="shader" > >DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine" >HOMEPAGE="http://www.sauerbraten.org/" >SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}_${EDITION}_edition_linux.tar.gz > mirror://sourceforge/${PN}/${PN}_${MY_PV}_${EDITION}_edition_win32_linux_PATCH.zip" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >RDEPEND=">=media-libs/libsdl-1.2.8-r1 > >=media-libs/sdl-image-1.2.3-r1 > >=media-libs/sdl-mixer-1.2.6 > virtual/opengl > || ( > ( > media-libs/mesa > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > x11-libs/libXext ) > virtual/x11 )" >DEPEND="${RDEPEND} > >=sys-devel/automake-1.7 > app-arch/unzip" > >S=${WORKDIR}/${PN}/src >dir=${GAMES_DATADIR}/${PN} >statedir=${GAMES_STATEDIR}/${PN} > >src_unpack() { > unpack ${A} > cd "${S}" > find -name CVS -type d | xargs rm -r > > # Apply patch > cp "${WORKDIR}"/physics.cpp "${S}"/engine/ || die "cp patch failed" > > cd "${S}"/engine > sed -i command.cpp main.cpp serverbrowser.cpp \ > -e "s:autoexec.cfg:${statedir}/autoexec.cfg:" \ > -e "s:config.cfg:${statedir}/config.cfg:" \ > -e "s:servers.cfg:${statedir}/servers.cfg:" \ > || die > > # Followed compilation instructions at > # http://www.pyrocpu.com/index.php?page=phx&px=NjU= > cd "${S}"/enet > export WANT_AUTOMAKE="1.7" > export WANT_AUTOCONF="2.5" > eautoreconf > chmod g+x configure >} > >src_compile() { > cd enet > egamesconf || die > emake || die > > cd "${S}" > emake -j1 || die >} > >src_install() { > local ext exe gametype > for gametype in {client,server} ; do > if [[ ${gametype} = "client" ]] ; then > ext="" > else > ext='-ded' > fi > exe=${PN}${ext} > mv sauer_${gametype} ${exe} > newgamesbin ${exe} ${exe}.bin \ > || die "newgamesbin failed" > games_make_wrapper ${exe} ${exe}.bin "${dir}" > done > > make_desktop_entry ${PN} "Sauerbraten" > > cd "${WORKDIR}"/${PN} > insinto "${dir}" > doins -r data packages || die " doins data packages failed" > rm -r data packages > > for doc in $(find -name *.txt) ; do > dodoc "${doc}" > rm "${doc}" > done > dohtml -r docs/*.html || die "dohtml failed" > > dodir "${statedir}" > for f in {autoexec,config,servers}.cfg ; do > touch "${D}${statedir}/${f}" || die "touch ${f} failed" > fperms 660 "${statedir}/${f}" || die "fperms ${f} failed" > done > > prepgamesdirs >}
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 111566
:
72192
|
72193
|
78674
|
81067
|
81105
|
83051
|
85513
|
89323
|
89519
|
92628
|
92669
|
96861
|
100392
|
104570
|
104704
|
104899
|
104900
|
104902
|
104903
|
104905
|
116408
|
116410
|
116411
|
133448
|
133449
|
133450
|
139476
|
139478
|
152457
|
152459
|
157443
|
190408
|
190448
|
190465
|
190468
|
190470
|
190472
|
190546
|
190547
|
190548
|
190550
|
190622
|
190657
|
190660
|
199353
|
239489
|
239491
|
239493
|
239593
|
239789
|
240635