Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37448 Details for
Bug 60381
FlightGear-cvs ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
FlightGear CVS ebuiild
flightgear-cvs-0.9.ebuild (text/plain), 2.75 KB, created by
Brett I. Holcomb
on 2004-08-14 18:07:52 UTC
(
hide
)
Description:
FlightGear CVS ebuiild
Filename:
MIME Type:
Creator:
Brett I. Holcomb
Created:
2004-08-14 18:07:52 UTC
Size:
2.75 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit flag-o-matic games eutils libtool > >MY_PN=FlightGear >MY_P=${MY_PN}-${PV} >S="${WORKDIR}/${MY_P}" >DESCRIPTION="Open Source Flight Simulator CVS version" >HOMEPAGE="http://www.flightgear.org/" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >RDEPEND=">=media-libs/plib-1.8.0 > =dev-games/simgear-0.3.6*" >DEPEND="${RDEPEND} > media-libs/glut" ># ># Set up for CVS access ># >ECVS_SERVER="cvs.flightgear.org:/var/cvs/${MY_P}" >ECVS_USER="cvsguest" >ECVS_PASS="guest" > >inherit cvs > >src_unpack() { > # > # Get source > # > ECVS_MODULE="source" > ECVS_LOCALNAME=${MY_P}/${ECVS_MODULE} > cvs_src_unpack > # > # Get data > # > ECVS_MODULE="data" > ECVS_LOCALNAME=${MY_P}/${ECVS_MODULE} > cvs_src_unpack >} > >src_compile() { > cd ${S}/source > # > # Need this version or complains can't find ./config.sh. > # > WANT_AUTOMAKE="1.7" ./autogen.sh > use hppa && replace-flags -march=2.0 -march=1.0 > egamesconf \ > --with-multiplayer \ > --with-network-olk \ > --with-threads \ > --with-x || die > emake -j1 || die "emake failed" >} > >src_install() { > cd ${S}/source > egamesinstall || die > > # > # Remove the CVS directories from the data directory > # and then copy the data directory. > # > cd ${S} > find ./data -name CVS -and -type d -and -exec rm -rf '{}' ';' > dodir "${GAMES_LIBDIR}/${MY_PN}" > cp -a data/* "${D}/${GAMES_LIBDIR}/${MY_PN}" || die "cp failed" > cd ${S}/source > dodoc README* ChangeLog AUTHORS NEWS Thanks > # > # Modify runfgfs to have ${GAMES_LIBDIR} in the path > # which it searches for fgfs root. If this is not done then > # runfgfs won't find the FlightGear home directory. > # > # Also move runfgfs to /usr/bin. > # > cd ${S}/source/src/Main > into /usr/games > dobin runfgfs > cd ${D}/usr/games/bin > sed -in "/\$ENV/s<(<(\"${GAMES_LIBDIR}\",<" runfgfs > mv runfgfs runfgfs-cvs > cp runfgfs-cvs "${D}/${GAMES_LIBDIR}/${MY_PN}" > # > # Get some tools, put them in the Games lib FlightGear > # directory and link to the bin directory so they are > # available. > # > cd ${S}/source/utils/Modeller > insinto "${GAMES_LIBDIR}/${MY_PN}" > doins animassist animcheck.pl threedconvert ># >#dosym Doesn't work - gives broken symlink so work around until >#find out why it's broken. ># > insinto /usr/games/bin > doins animassist > doins animcheck.pl > doins threedconvert > cd ${D}/usr/games/bin > chmod a+x animassist animcheck.pl threedconvert > ># cd ${D}/${GAMES_LIBDIR}/${MY_PN} ># dosym animassist /usr/games/bin/animassist ># dosym animcheck.pl /usr/games/bin/animcheck.pl ># dosym threedconvert /usr/games/bin/threedconvert > # > # Setup permissions, etc. > # > prepgamesdirs >} >pkg_postinst() { > einfo "Use /usr/games/bin/runfgfs-cvs to start FlightGear" > einfo "" > einfo "Your user must be a member of the games group." > einfo "" >}
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 60381
: 37448