Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89245 Details for
Bug 136869
heretic2-1.06c ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
heretic2-1.06c.ebuild
heretic2-1.06c.ebuild (text/plain), 3.57 KB, created by
Anton Romanov
on 2006-06-15 06:22:39 UTC
(
hide
)
Description:
heretic2-1.06c.ebuild
Filename:
MIME Type:
Creator:
Anton Romanov
Created:
2006-06-15 06:22:39 UTC
Size:
3.57 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation: ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games > >PREV=1.06b >DESCRIPTION="Heretic 2" >HOMEPAGE="http://lokigames.com/products/heretic2/" >SRC_URI="ftp://sunsite.dk/mirrors/lokigames/updates/heretic2/heretic2-${PREV}-unified-x86.run > ftp://sunsite.dk/mirrors/lokigames/updates/heretic2/heretic2-${PV}-unified-x86.run > ftp://sunsite.dk/mirrors/lokigames/updates/heretic2/heretic2-maps-1.0.run" > >LICENSE="LOKI-EULA" >SLOT="0" >KEYWORDS="x86" >RESTRICT="nostrip" >DEPEND="virtual/libc" >RDEPEND="${DEPEND} > games-util/loki_patch" > >S=${WORKDIR} >dir=${GAMES_PREFIX_OPT}/${PN} >Ddir=${D}/${dir} > >pkg_setup() { > if [ "`use videos`" ]; then > ewarn "The installed game takes about 500MB of space!" > else > ewarn "The installed game takes about 400MB of space!" > fi > > cdrom_get_cds README > games_pkg_setup >} > >src_unpack() { > export _POSIX2_VERSION=199209 > mkdir ${PREV} > cd ${PREV} > unpack_makeself ${DISTFILES}/heretic2-${PREV}-unified-x86.run > cd - > mkdir ${PV} > cd ${PV} > unpack_makeself ${DISTFILES}/heretic2-${PV}-unified-x86.run > cd - > mkdir maps > cd maps > unpack_makeself ${DISTFILES}/heretic2-maps-1.0.run > cd - >} > >src_install() { > dodir ${dir} > mkdir ${Ddir}/base > mkdir ${Ddir}/base/video > mkdir ${Ddir}/help > mkdir ${Ddir}/help/images > einfo "Copying files... this may take a while..." > exeinto /opt/heretic2 > newexe ${CDROM_ROOT}/bin/x86/glibc-2.1/heretic2 heretic2 > insinto /opt/heretic2 > > cp ${CDROM_ROOT}/README ${Ddir} > cp ${CDROM_ROOT}/README.more ${Ddir}/README.more > cp ${CDROM_ROOT}/Manual.html ${Ddir}/Manual.html > cp ${CDROM_ROOT}/icon.bmp ${Ddir}/icon.bmp > cp ${CDROM_ROOT}/icon.xpm ${Ddir}/icon.xpm > > for file in ${CDROM_ROOT}/base/video/* > do > dest=`basename "${file}" | tr [A-Z] [a-z]` > cp "$file" "${Ddir}/base/video/${dest}" > done > for file in ${CDROM_ROOT}/help/*.html > do > dest=`basename "${file}" | tr [A-Z] [a-z]` > cp "$file" "${Ddir}/help/${dest}" > done > for file in ${CDROM_ROOT}/help/images/* > do > dest=`basename "${file}" .GIF | tr [A-Z] [a-z]`.GIF > cp "$file" "${Ddir}/help/images/${dest}" > done > > cd ${Ddir} > tar xzf ${CDROM_ROOT}/data.tar.gz || die "uncompressing data" > tar xzf ${CDROM_ROOT}/bin-x86-glibc-2.1.tar.gz --no-same-owner || die "uncompressing libs" > > cd ${S}/${PREV} > loki_patch --verify patch.dat > loki_patch patch.dat ${Ddir} >& /dev/null || die "patching 1" > cd ${S}/${PV} > loki_patch --verify patch.dat > loki_patch patch.dat ${Ddir} >& /dev/null || die "patching 2" > cd ${S}/maps > loki_patch --verify patch.dat > loki_patch patch.dat ${Ddir} >& /dev/null || die "patching 3" > > > # Change to safe default of 800x600 and option of normal opengl driver > sed -i "${Ddir}"/base/default.cfg \ > -e "s:fullscreen \"1\":fullscreen \"1\"\nset vid_mode \"4\":" \ > || die "sed failed" > echo "set gl_driver \"${ROOT}usr/$(get_libdir)/libGL.so\"" >> \ > "${Ddir}"/base/default.cfg > > # 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 > newins ${CDROM_ROOT}/icon.xpm heretic2.xpm > > games_make_wrapper ${PN} "./heretic2" "${dir}" "${dir}" > prepgamesdirs > make_desktop_entry heretic2 "Heretic II" "heretic2.xpm" >}
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 136869
: 89245