Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71198 Details for
Bug 110142
games-rpg/eternal-lands-1.1.2 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New eternal-lands version ebuild.
eternal-lands-1.1.2.ebuild (text/plain), 3.91 KB, created by
Ernestas Liubarskij
on 2005-10-22 07:16:27 UTC
(
hide
)
Description:
New eternal-lands version ebuild.
Filename:
MIME Type:
Creator:
Ernestas Liubarskij
Created:
2005-10-22 07:16:27 UTC
Size:
3.91 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games > >TMP_PV=${PV%_p*} >DESCRIPTION="An online MMORPG written in C and SDL" >HOMEPAGE="http://www.eternal-lands.com" >SRC_URI="http://el.tfm.ro/el_${TMP_PV//.}_linux.zip > ftp://ftp.berlios.de/pub/elc/elc_${PV//.}.tgz > mapeditor? ( ftp://ftp.berlios.de/pub/elc/mapedit_${PV//.}.tgz ) > !nomusic? ( http://el.tfm.ro/music.zip )" > >LICENSE="eternal_lands" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="doc nomusic mapeditor" > >RDEPEND="virtual/x11 > virtual/opengl > >=media-libs/libsdl-1.2.5 > >=media-libs/sdl-net-1.2.5 > >media-libs/openal-20020127 > media-libs/libvorbis > >=dev-libs/libxml2-2.6.7 > media-libs/cal3d > mapeditor? ( <x11-libs/gtk+-1.3 )" > >DEPEND="app-arch/unzip > doc? ( >=app-doc/doxygen-1.3.8 > >=media-gfx/graphviz-1.10 )" > >src_unpack() { > OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"" " > S_CLIENT="${WORKDIR}/elc" > S_MAPEDITOR="${WORKDIR}/map_editor" > > unpack ${A} > use amd64 && OPTIONS="${OPTIONS} -DX86_64" > cd "${S_CLIENT}" > sed \ > -e "s@CFLAGS=\$(PLATFORM) -Wall -O -Werror -ggdb -pipe @CFLAGS=${CFLAGS} @g" \ > -e "s@OPTIONS=@${OPTIONS} @g" \ > Makefile.linux > Makefile \ > || die "sed failed" > sed \ > -e 's/#browser/browser/g' \ > -e 's/browser = mozilla/#browser = mozilla/g' \ > -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \ > el.ini > ../el.ini \ > || die "sed failed" > if use mapeditor; then > cd ${S_MAPEDITOR} > sed \ > -e "s@CFLAGS=@CFLAGS=${CFLAGS} @g" \ > -e "s@OPTIONS=@${OPTIONS} @g" \ > Makefile.linux > Makefile \ > || die "sed failed" > sed \ > -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \ > mapedit.ini > ../mapedit.ini \ > || die "sed failed" > mv browser.lst ../browser.lst > fi > cd ${WORKDIR} > cp license.txt EULA || die "cp failed" >} > >src_compile() { > cd ${S_CLIENT} > emake || die "emake failed" > cp el.x86.linux.bin ../el.x86.linux.bin || die "cp failed" > if use doc; then > emake docs || die "Failed to create documentation, try with USE=-docs" > mv ./docs/html/ ../client || die "Failed to move documentation directory" > fi > if use mapeditor; then > cd ${S_MAPEDITOR} > emake || die "emake failed" > cp mapedit.x86.linux.bin ../mapedit.x86.linux.bin || die "cp failed" > fi >} > >src_install () { > cd "${WORKDIR}" > newgamesbin el.x86.linux.bin el || die "newgamesbin failed" > if use mapeditor; then > newgamesbin mapedit.x86.linux.bin el-mapedit \ > || die "newgamesbin failed" > fi > > dodoc EULA > insinto "${GAMES_DATADIR}/${PN}" > doins *.ini 3dobjects.txt e3dlist.txt entrable.lst \ > harvestable.lst knowledge.lst el_icon.png mapinfo.lst icon.bmp \ > global_filters.txt \ > || die "doins failed" > > if use mapeditor; then > doins browser.lst || die "doins failed" > fi > > cp -R 2dobjects 3dobjects actor_defs animations books custom \ > languages maps mapeditor meshes particles skeletons sound \ > textures tiles \ > "${D}/${GAMES_DATADIR}/${PN}" \ > || die "copy failed" > > if ! use nomusic; then > mkdir "${D}/${GAMES_DATADIR}/${PN}/Music" > cp *.ogg "${D}/${GAMES_DATADIR}/${PN}/Music" || die "cp failed" > cp *.pll "${D}/${GAMES_DATADIR}/${PN}/Music" || die "cp failed" > fi > > if use doc; then > dohtml -r "${WORKDIR}/client/"* > fi > if use mapeditor; then > dohtml "${WORKDIR}/mapeditor.html" > dohtml -r "${WORKDIR}/mapeditor" > fi > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > echo > einfo "To run the game: el" > einfo "Copy ${GAMES_DATADIR}/${PN}/el.ini to ~/.elc/" > einfo "to make per-user changes." > echo > if use mapeditor; then > einfo "To use the map editor: el-mapedit" > einfo "Copy ${GAMES_DATADIR}/${PN}/mapedit.ini to ~/.elc/" > einfo "to make per-user changes." > echo > einfo "To read an introduction to the map editor, read" > einfo "/usr/share/doc/${PF}/html/mapeditor.html" > echo > fi > if use doc; then > einfo "The documentation for the client source can be found" > einfo "in /usr/share/doc/${PF}/html/index.html" > echo > fi >}
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 110142
: 71198