diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/egoboo/egoboo-2.8.1-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/egoboo/egoboo-2.8.1-r1.ebuild')
-rw-r--r-- | games-rpg/egoboo/egoboo-2.8.1-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild new file mode 100644 index 000000000000..108aefdfcecc --- /dev/null +++ b/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +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 ~x86" +IUSE="" + +DEPEND=" + dev-games/physfs + media-libs/libsdl[joystick,video] + media-libs/sdl-image + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + net-libs/enet:0 + virtual/glu + virtual/opengl" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + edos2unix src/game/platform/file_linux.c \ + src/game/network.c \ + src/game/Makefile + default + sed -i \ + -e "s:@GENTOO_CONFDIR@:/etc/${PN}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + src/game/platform/file_linux.c || die "sed failed" + rm -rf src/enet || die +} + +src_compile() { + emake -C src/game PROJ_NAME=egoboo-2.x +} + +src_install() { + dodoc BUGS.txt Changelog.txt doc/*.txt doc/*.pdf + + insinto /usr/share/${PN} + doins -r basicdat modules + insinto /etc/${PN} + doins -r controls.txt setup.txt + + newbin src/game/egoboo-2.x ${PN} + + newicon basicdat/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp +} |