Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 111579 Details for
Bug 159164
games-fps/ut2004-data: new ut2004 DVD doesnt emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-ut2k4mod.eclass
games-ut2k4mod.eclass (text/plain), 3.21 KB, created by
Paul Bredbury
on 2007-02-28 16:53:50 UTC
(
hide
)
Description:
games-ut2k4mod.eclass
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2007-02-28 16:53:50 UTC
Size:
3.21 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games > >EXPORT_FUNCTIONS pkg_nofetch src_unpack src_install pkg_postinst > >DESCRIPTION="UT2004 - ${MOD_DESC}" > >SLOT="0" >KEYWORDS="-* x86 amd64" >IUSE="" > >DEPEND="app-arch/tar > app-arch/bzip2" >RDEPEND="sys-libs/glibc" >PDEPEND=">=games-fps/ut2004-3339" > >S=${WORKDIR} >dir=${GAMES_PREFIX_OPT}/ut2004 >Ddir=${D}/${dir} > >check_dvd() { > # The following is a nasty mess to determine if we are installing from > # a DVD or from multiple CDs. Anyone feel free to submit patches to this > # to bugs.gentoo.org as I know it is a very ugly hack. > > USE_DVD= > USE_ECE_DVD= > USE_MIDWAY_DVD= > > if [[ -n "${CD_ROOT}" ]] ; then > [[ -d "${CD_ROOT}/CD1" ]] && USE_DVD=1 > if [[ -e "${CD_ROOT}/AutoRunData/Unreal.ico" ]] \ > && [[ -e "${CD_ROOT}/Disk5/data6.cab" ]] ; then > USE_MIDWAY_DVD=1 > USE_DVD=1 > else > [[ -d "${CD_ROOT}/CD7" ]] && USE_ECE_DVD=1 > fi > else > local mline > for mline in `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do > [[ -d "${mline}/CD1" ]] && USE_DVD=1 > if [[ -e "${mline}/AutoRunData/Unreal.ico" ]] \ > && [[ -e "${mline}/Disk5/data6.cab" ]] ; then > USE_MIDWAY_DVD=1 > USE_DVD=1 > else > [[ -d "${mline}/CD7" ]] && USE_ECE_DVD=1 > fi > done > fi >} > >games-ut2k4mod_pkg_nofetch() { > einfo "Please download ${SRC_URI} and put it into ${DISTDIR}" > einfo "http://liflg.org/?catid=6&gameid=17" >} > >games-ut2k4mod_src_unpack() { > [[ -z "${MOD_TBZ2}" ]] && die "What are we supposed to unpack?" > [[ -z "${MOD_NAME}" ]] && die "What is the name of this ut2k4mod?" > > local src_uri uri_suffix > for src_uri in ${A} ; do > uri_suffix="${src_uri##*.}" > case ${uri_suffix##*.} in > run|bin) > # We have a Makeself archive, use unpack_makeself > unpack_makeself "${src_uri}" > # Since this is a Makeself archive, it has a lot of useless > # files (for us), so we delete them. > rm -rf setup.data setup.sh uninstall > ;; > bz2|gz|Z|z|ZIP|zip) > # We have a normal tarball/zip file, use unpack > unpack "${src_uri}" > ;; > esac > done > > mkdir "${S}"/unpack > local tarball > for tarball in ${MOD_TBZ2} ; do > if [[ -e "${tarball}_${PV}-english.tar.bz2" ]] ; then > tar xjf "${tarball}_${PV}-english.tar.bz2" -C "${S}"/unpack \ > || die "uncompressing tarball" > elif [[ -e "${tarball}_${PV}.tar.bz2" ]] ; then > tar xjf "${tarball}_${PV}.tar.bz2" -C "${S}"/unpack \ > || die "uncompressing tarball" > else > tar xjf "${tarball}.tar.bz2" -C "${S}"/unpack \ > || die "uncompressing tarball" > fi > done >} > >games-ut2k4mod_src_install() { > insinto "${dir}" > doins -r "${S}"/unpack/* || die "doins -r unpack failed" > > for readme in README* ; do > dodoc "${readme}" || die "dodoc failed" > done > if [[ -n "${MOD_BINS}" ]] ; then > exeinto "${dir}" > doexe bin/"${MOD_BINS}" || die "doexe ${MOD_BINS} failed" > games_make_wrapper "${MOD_BINS}" ./"${MOD_BINS}" "${dir}" > make_desktop_entry "${MOD_BINS}" "UT2004 - ${MOD_NAME}" "${MOD_ICON}" > fi > > if [[ -n "${MOD_ICON}" ]] && [[ -e "${MOD_ICON}" ]] ; then > doicon "${MOD_ICON}" || die "doicon ${MOD_ICON} failed" > fi > > prepgamesdirs >} > >games-ut2k4mod_pkg_postinst() { > if [[ -n "${MOD_BINS}" ]] ; then > elog "To play this mod, run:" > elog " ${MOD_BINS}" > 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 159164
:
110789
|
111117
|
111119
|
111125
|
111126
|
111132
|
111133
|
111159
|
111268
|
111281
|
111284
|
111314
|
111438
|
111440
|
111475
|
111487
|
111504
|
111508
|
111579
|
111667
|
111668
|
111677
|
111760
|
112050
|
112051
|
112080
|
113955
|
113957
|
115472
|
115939
|
161312
|
161380
|
182246
|
182247
|
220189