diff options
author | 2010-02-20 22:35:16 +0000 | |
---|---|---|
committer | 2010-02-20 22:35:16 +0000 | |
commit | 46f7857b6fdddb73b9c80151300133bc173fb7f2 (patch) | |
tree | 6bd8c7fa8831d539e55222fe53e1bb5262f23a6d /games-rpg/egoboo/egoboo-2.7.4.ebuild | |
parent | version bump (bug #306041) (diff) | |
download | historical-46f7857b6fdddb73b9c80151300133bc173fb7f2.tar.gz historical-46f7857b6fdddb73b9c80151300133bc173fb7f2.tar.bz2 historical-46f7857b6fdddb73b9c80151300133bc173fb7f2.zip |
Version bump to 2.7.4 Bug #193403
Fix ELF file installed in /usr/share. Bug #305243
Package-Manager: portage-2.1.7.16/cvs/Linux i686
Diffstat (limited to 'games-rpg/egoboo/egoboo-2.7.4.ebuild')
-rw-r--r-- | games-rpg/egoboo/egoboo-2.7.4.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-rpg/egoboo/egoboo-2.7.4.ebuild b/games-rpg/egoboo/egoboo-2.7.4.ebuild new file mode 100644 index 000000000000..0279021d39dc --- /dev/null +++ b/games-rpg/egoboo/egoboo-2.7.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/egoboo/egoboo-2.7.4.ebuild,v 1.1 2010/02/20 22:35:15 tupone Exp $ +EAPI=2 + +inherit eutils games + +DESCRIPTION="A 3d dungeon crawling adventure in the spirit of NetHack" +HOMEPAGE="http://egoboo.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf" +DEPEND="${RDEPEND}" + +src_prepare() { + edos2unix game/Makefile.unix + epatch "${FILESDIR}"/${P}-enet.patch + sed -i \ + -e "s:\${EGOBOO_PREFIX}/share:${GAMES_DATADIR}:" \ + -e "s:\${EGOBOO_PREFIX}/libexec:$(games_get_libdir):" \ + game/egoboo.sh || die "sed failed" +} + +src_compile() { + emake -C game -f Makefile.unix +} + +src_install() { + dodoc Changelog.txt doc/* || die "dodoc failed" + + exeinto "$(games_get_libdir)" + doexe game/${PN} || die "doexe failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r basicdat modules players controls.txt setup.txt \ + || die "doins failed" + + newgamesbin game/egoboo.sh ${PN} || die "newgamesbin failed" + + newicon basicdat/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp + + prepgamesdirs +} |