diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2012-04-30 08:35:46 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2012-04-30 08:35:46 +0000 |
commit | 5a89d6d0194fdf5ac7fe17624064c6edc7629ed4 (patch) | |
tree | 8cc09ac83548cdb0e7dfec2514fb8af4f9ea63c4 /games-rpg/egoboo/egoboo-2.8.1.ebuild | |
parent | Correctly chdir to ${S}, see bug #411563. (diff) | |
download | gentoo-2-5a89d6d0194fdf5ac7fe17624064c6edc7629ed4.tar.gz gentoo-2-5a89d6d0194fdf5ac7fe17624064c6edc7629ed4.tar.bz2 gentoo-2-5a89d6d0194fdf5ac7fe17624064c6edc7629ed4.zip |
Version bump to 2.8.1 Bug #366731
(Portage version: 2.1.10.57/cvs/Linux i686)
Diffstat (limited to 'games-rpg/egoboo/egoboo-2.8.1.ebuild')
-rw-r--r-- | games-rpg/egoboo/egoboo-2.8.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/games-rpg/egoboo/egoboo-2.8.1.ebuild b/games-rpg/egoboo/egoboo-2.8.1.ebuild new file mode 100644 index 000000000000..ee7db215a110 --- /dev/null +++ b/games-rpg/egoboo/egoboo-2.8.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/egoboo/egoboo-2.8.1.ebuild,v 1.1 2012/04/30 08:35:45 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/libsdl[video] + media-libs/sdl-image + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + net-libs/enet:0 + dev-games/physfs" +DEPEND="${RDEPEND}" + +src_prepare() { + edos2unix src/game/platform/file_linux.c \ + src/game/network.c \ + src/game/Makefile + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + -e "s:@GENTOO_CONFDIR@:${GAMES_SYSCONFDIR}/${PN}:" \ + src/game/platform/file_linux.c || die "sed failed" + rm -rf src/enet || die "failed removing enet" +} + +src_compile() { + make -C src/game PROJ_NAME=egoboo-2.x || die "emake failed" +} + +src_install() { + dodoc BUGS.txt Changelog.txt doc/*.txt doc/*.pdf || die "dodoc failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r basicdat modules \ + || die "doins failed" + insinto "${GAMES_SYSCONFDIR}/${PN}" + doins -r controls.txt setup.txt \ + || die "doins on sysconf failed" + + newgamesbin src/game/egoboo-2.x ${PN} || die "newgamesbin failed" + + newicon basicdat/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp + + prepgamesdirs +} |