Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133171 Details for
Bug 189335
ebuild using gdc for jumpei isshiki's "area2048"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-action/area2048/area2048-1.02.ebuild
area2048-1.02.ebuild (text/plain), 2.44 KB, created by
Account removed
on 2007-10-11 18:13:02 UTC
(
hide
)
Description:
games-action/area2048/area2048-1.02.ebuild
Filename:
MIME Type:
Creator:
Account removed
Created:
2007-10-11 18:13:02 UTC
Size:
2.44 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PN=a2k >MY_PV=${PV//./_} > >DESCRIPTION="jumpei isshiki's HelloWorldProject (2005/01/17) " >HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html" >SRC_URI="http://homepage2.nifty.com/isshiki/${MY_PN}.zip > http://homepage2.nifty.com/isshiki/${MY_PN}_src.zip" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~ppc ~x86" > >DEPEND="media-libs/libsdl > media-libs/mesa > media-libs/sdl-mixer > dev-libs/bulletss" > >S=${WORKDIR}/${MY_PN} > >pkg_setup() { > games_pkg_setup > > # gcc must be built with "d" USE-FLAG > if ! built_with_use sys-devel/gcc:4.1 d; then > ewarn "sys-devel/gcc must be built with d for this package" > ewarn "to function." > die "recompile gcc with USE=\"d\"" > fi > if [ "$(gcc-major-version)" == "4" ] && [ "$(gcc-minor-version)" == "2" ] ; then > die "gdc doesn't work with sys-devel/gcc-4.2 currently - use 4.1 instead" > fi > >} > >src_unpack(){ > cd ${WORKDIR} > unpack ${MY_PN}.zip > cd "${S}" > unpack ${MY_PN}_src.zip > epatch ${FILESDIR}/${P}.diff > sed -i \ > -e 's:"\(icon.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/util_pad.d \ > -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(stg0[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(boss0[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(voice[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i a2k_src/src/init.d \ > -e 's:"\(score.dat[^"]*\)":"'${GAMES_STATEDIR}'/'a2k'\1":g' -i a2k_src/src/init.d \ > -e 's:"\(config.dat[^"]*\)":"'${GAMES_STATEDIR}'/'a2k'\1":g' -i a2k_src/src/init.d \ > || die "sed failed" >} > >src_install() { > dogamesbin ${PN} || die "dogamesbin failed" > > local datadir="${GAMES_DATADIR}"/${PN} > dodir "${GAMES_STATEDIR}" > touch ${D}/"${GAMES_STATEDIR}"/a2kscore.dat || die "touch failed" > fperms 660 "${GAMES_STATEDIR}"/a2kscore.dat > touch ${D}/"${GAMES_STATEDIR}"/a2kconfig.dat || die "touch failed" > fperms 660 "${GAMES_STATEDIR}"/a2kconfig.dat > > > dodir ${datadir} > insinto "${GAMES_DATADIR}"/${PN} > doins *.xml *.bmp *.ogg *.wav || die > > dodoc readme* > prepgamesdirs >} > >pkg_postinst() { > 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 189335
:
128473
|
128475
|
128573
|
129129
|
129131
|
131406
|
133171
|
136233
|
136235
|
167520
|
167521
|
181648