Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43854 Details for
Bug 71044
heroes3: network game crashes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
heroes3-1.3.1a.ebuild
heroes3-1.3.1a.ebuild (text/plain), 3.61 KB, created by
Alex Linke
on 2004-11-13 02:49:17 UTC
(
hide
)
Description:
heroes3-1.3.1a.ebuild
Filename:
MIME Type:
Creator:
Alex Linke
Created:
2004-11-13 02:49:17 UTC
Size:
3.61 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/heroes3-1.3.1a.ebuild,v 1.1 2004/09/29 23:43:45 wolf31o2 Exp $ > ># [x] Base Install Required (+4 MB) ># [x] Scenarios (+7 MB) ># [x] Sounds and Graphics (+118 MB) ># [x] Music (+65 MB) ># [x] Videos (+147 MB) ># -------------------- ># Total 341 MB ># + additional libs 346 MB > >inherit games >IUSE="nocd maps music sounds videos" >DESCRIPTION="Heroes of Might and Magic III : The Restoration of Erathia - turn-based 2-D medieval combat" >HOMEPAGE="http://www.lokigames.com/products/${PN}/" >KEYWORDS="x86" > ># Since I do not have a PPC machine to test with, I will leave the PPC stuff in ># here so someone else can stabilize loki_setupdb and loki_patch for PPC and ># then KEYWORD this appropriately. >SRC_URI="x86? ( ftp://ftp.planetmirror.com/pub/lokigames/updates/${PN}/${P}-cdrom-x86.run > ftp://snuffleupagus.animearchive.org/loki/updates/${PN}/${P}-cdrom-x86.run ) > ppc? ( ftp://ftp.planetmirror.com/pub/lokigames/updates/${PN}/${P}-ppc.run > ftp://snuffleupagus.animearchive.org/loki/updates/${PN}/${P}-ppc.run ) > x86? ( http://homepage.ruhr-uni-bochum.de/Alexander.Linke-2/linux/heroes3/heroes3_glibc.tar.bz2 )" > >LICENSE="LOKI-EULA" >SLOT="0" >RESTRICT="nostrip" > >DEPEND="virtual/libc > games-util/loki_patch" > >S=${WORKDIR} > >dir=${GAMES_PREFIX_OPT}/${PN} >Ddir=${D}/${dir} > >pkg_setup() { > check_license || die "License check failed" > use nocd && ewarn "The full installation takes about 346 MB of space!" > games_pkg_setup >} > >src_unpack() { > case ${ARCH} in > x86) unpack_makeself ${P}-cdrom-x86.run > mkdir heroes3_glibc && cd heroes3_glibc > unpack heroes3_glibc.tar.bz2 ;; > ppc) unpack_makeself ${P}-ppc.run ;; > esac >} > >src_install() { > cdrom_get_cds hiscore.tar.gz > einfo "Copying files... this may take a while..." > exeinto ${dir} > doexe ${CDROM_ROOT}/bin/x86/${PN} > insinto ${dir} > doins ${CDROM_ROOT}/{Heroes_III_Tutorial.pdf,README,icon.{bmp,xpm}} > > if use nocd; then > dodir ${dir}/{maps,mp3,data} ${dir}/data/video > cp -r ${CDROM_ROOT}/{data,maps,mp3} ${Ddir} || die "copying data" > else > dodir ${dir}/data > use maps && insinto ${dir}/maps && dodir ${dir}/maps && doins ${CDROM_ROOT}/maps/* > use music && insinto ${dir}/mp3 && dodir ${dir}/mp3 && doins ${CDROM_ROOT}/mp3/* > use sounds && insinto ${dir}/data && doins ${CDROM_ROOT}/data/{*.lod,*.snd} > use videos && insinto ${dir}/data/video && dodir ${dir}/data/video && doins ${CDROM_ROOT}/data/video/* > fi > > cd ${Ddir} > tar xf ${CDROM_ROOT}/hiscore.tar.gz || die "unpacking hiscore" > > cd ${S} > loki_patch --verify patch.dat > loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" > > games_make_wrapper heroes3 ./heroes3 ${dir} > > # now, since these files are coming off a cd, the times/sizes/md5sums wont > # be different ... that means portage will try to unmerge some files (!) > # we run touch on ${D} so as to make sure portage doesnt do any such thing > find ${Ddir} -exec touch '{}' \; > > insinto /usr/share/pixmaps > cp ${CDROM_ROOT}/icon.xpm ${S}/heroes3.xpm > doins ${S}/heroes3.xpm > > prepgamesdirs > make_desktop_entry heroes3 "Heroes of Might and Magic III" "heroes3.xpm" > > if [ "${ARCH}" = "x86" ]; then > einfo "copying additional glibc libs to '${dir}/lib'." > into ${dir} > dolib.so heroes3_glibc/*.so || die "dolib failed" > dosym lib/ld-2.2.5.so ${dir}/ld-linux.so.2 && \ > dosym lib/libc-2.2.5.so ${dir}/libc.so.6 && \ > dosym lib/libnss_files-2.2.5.so ${dir}/libnss_files.so.2 || die "dosym failed" > dodoc heroes3_glibc/additional_libs.txt || die "dodoc failed" > fi >} > >pkg_postinst() { > einfo "To play the game run:" > einfo " heroes3" > > 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 71044
:
43854
|
44727
|
44728
|
44958
|
52225