Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23261 Details for
Bug 30519
make ebuild for stratagus
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
stratagus-cvs
stratagus-cvs-20040106.ebuild (text/plain), 2.57 KB, created by
Christophe Radovcic
on 2004-01-06 15:27:57 UTC
(
hide
)
Description:
stratagus-cvs
Filename:
MIME Type:
Creator:
Christophe Radovcic
Created:
2004-01-06 15:27:57 UTC
Size:
2.57 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >ECVS_SERVER="subversions.gnu.org:/cvsroot/stratagus" >ECVS_AUTH="ext" >ECVS_USER="anoncvs" >ECVS_MODULE="stratagus" > >inherit cvs games > >S=${WORKDIR}/${ECVS_MODULE} > >DESCRIPTION="Real time stratagy gaming engine (formerly known as freecraft)" > >HOMEPAGE="http://www.stratagus.org" > >SRC_URI="" > >LICENSE="GPL-2" > >SLOT="0" > >KEYWORDS="~x86" > >IUSE="flac oggvorbis mad" > >RDEPEND="virtual/x11 > >=media-libs/libpng-1.2.3 > >=media-libs/libsdl-1.2.4 > sys-libs/zlib > flac? ( media-libs/flac ) > oggvorbis? ( media-libs/libvorbis ) > mad? ( media-libs/libmad )" > >DEPEND="${RDEPEND} > sys-devel/autoconf > dev-util/cvs" > >src_compile(){ > autoconf > egamesconf \ > `use_with flac` \ > `use_with oggvorbis ogg` \ > `use_with mad` || die "configure failed" > make depend || die "depend generation failed" > make || die "build failed" >} > >src_install(){ > > local STRATAGUS_DIR=${GAMES_PREFIX}/${ECVS_MODULE} > > einfo "Installing game" > dodir ${STRATAGUS_DIR} > > echo "cd ${STRATAGUS_DIR}" > playStratagus > echo "./stratagus" >> playStratagus > > dogamesbin playStratagus > > exeinto ${STRATAGUS_DIR} > doexe stratagus > > # strip CVS directories (maybe a better way to do this) > rm -R data/CVS > rm -R data/ccl/CVS > rm -R data/ccl/orc/CVS > rm -R data/ccl/human/CVS > rm -R data/ccl/tilesets/CVS > cp -R data ${D}/${STRATAGUS_DIR} > > rm -R contrib/CVS > rm -R contrib/music/CVS > rm -R contrib/installer/CVS > rm -R contrib/puds/CVS > rm -R contrib/puds/multi/CVS > rm -R contrib/campaigns/CVS > rm -R contrib/campaigns/human/CVS > rm -R contrib/campaigns/human-exp/CVS > rm -R contrib/campaigns/orc/CVS > rm -R contrib/campaigns/orc-exp/CVS > cp -R contrib ${D}/${STRATAGUS_DIR} > > einfo "Installing doc" > dodoc README COPYING > dodoc doc/README-SDL.txt doc/SIOD.txt doc/trigger.txt doc/vp32_opensource_license_9-6-01.txt > > cd doc > dohtml -r * > cd .. > > einfo "Installing tools" > dodir ${STRATAGUS_DIR}/tools > exeinto ${STRATAGUS_DIR}/tools > doexe tools/{aledoc,startool,wartool,war1tool,build.sh,mpqlist.txt} > > prepgamesdirs >} > >pkg_postinst() { > einfo > einfo "Stratagus is now installed but in order to actually play" > einfo "you will need to either use a Warcraft CD or install the" > einfo "aleona ebuild. To use a Warcraft CD:" > einfo " 1 mount the cd as /mnt/cdrom" > einfo " 2 cd /usr/games/stratagus" > einfo " 3 run tools/build.sh" > einfo "This will extract the data files to the correct place." > einfo "Note that the CD is still needed for the music. To" > einfo "to start a game just run \`playStratagus\`." > einfo > > games_pkg_postinst >} >
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 30519
:
21813
| 23261 |
23262
|
26881
|
26882
|
26884
|
26886
|
26888
|
34097
|
34267
|
34793
|
40550