Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138843 Details for
Bug 75494
[EBUILD] Medal of Honor (MOHAA)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mohaa-1.11_beta3.ebuild
mohaa-1.11_beta3.ebuild (text/plain), 2.60 KB, created by
Anton Romanov
on 2007-12-18 18:27:45 UTC
(
hide
)
Description:
mohaa-1.11_beta3.ebuild
Filename:
MIME Type:
Creator:
Anton Romanov
Created:
2007-12-18 18:27:45 UTC
Size:
2.60 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit versionator eutils games > >DESCRIPTION="Medal of Honor : Allied Assault" >HOMEPAGE="http://icculus.org/betas/mohaa/" >SRC_URI="ftp://largedownloads.ea.com/pub/patches/MOHAA_UKUS_ONLY_patch111v9safedisk.exe > http://icculus.org/betas/${PN}/${PN}-lnxclient-beta3.tar.bz2" > >LICENSE="" >SLOT="0" >KEYWORDS="~x86" >RESTRICT="strip" >IUSE="cdinstall" > >RDEPEND="virtual/opengl" >DEPEND="${RDEPEND} > app-arch/unshield > app-arch/cabextract" > >S=${WORKDIR} >dir=${GAMES_PREFIX_OPT}/${PN} > >src_unpack() { > cd ${S} > unpack ${PN}-lnxclient-beta3.tar.bz2 || die > cabextract ${DISTDIR}/MOHAA_UKUS_ONLY_patch111v9safedisk.exe >/dev/null || die > unshield -g "Patch Files" x Disk1/data1.cab > /dev/null || die > use cdinstall && cdrom_get_cds data2.cab data3.cab > if use cdinstall ; then > einfo "Copying files from first CD ..." > cp "${CDROM_ROOT}/data1.cab" ./ || die > cp "${CDROM_ROOT}/data1.hdr" ./ || die > cp "${CDROM_ROOT}/data2.cab" ./ || die > eend 0 > cdrom_load_next_cd > einfo "Linking files from second CD ..." > ln -s "${CDROM_ROOT}/data3.cab" ./ || die > ln -s "${CDROM_ROOT}/main/Pak2.pk3" ./ || die > eend 0 > einfo "Unpacking files from CDs (this will take a while)" > unshield x data1.cab 1> /dev/null || die > eend 0 > rm data1.cab data1.hdr data2.cab data3.cab > fi >} > >src_install() { > games_make_wrapper ${PN} ./${PN}_lnx "${dir}" "${dir}" > make_desktop_entry ${PN} "Medal of Honor - Allied Assault" > einfo "Installing files ..." > insinto "${dir}" > doins cgame.so fgame.so libSDL-1.2.so.0 openal.so README || die > exeinto "${dir}" > doexe mohaa_lnx || die > insinto ${dir}/main > doins Patch_Files/main/pak6.pk3 Pak2.pk3 || die > if use cdinstall ; then > doins Data_Files_Minimal/* || die > insinto ${dir}/main/sound/music > doins Music_Files/* || die > insinto ${dir}/main/sound/amb_stereo > doins Sound_AmbStereo_Files/* || die > insinto ${dir}/main/sound/amb > doins Sound_Amb_Files/* || die > insinto ${dir}/main/sound/dialogue > doins -r Sound_Dialogue_Files/* || die > insinto ${dir}/main/sound/mechanics > doins Sound_Mechanics_Files/* || die > insinto ${dir}/main/sound/vehicle > doins Sound_Vehicle_Files/* || die > insinto ${dir}/main/sound/weapons > doins -r Sound_Weapons_Files/* || die > insinto ${dir}/main/video > doins Video_Files/* || die > fi > eend 0 > prepgamesdirs >} > >pkg_postinst() { > if ! use cdinstall ; then > einfo "You need the data files from Medal of Honor in ${GAMES_PREFIX_OPT}/${PN}/main." > fi > 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 75494
:
46744
|
134479
|
134486
| 138843