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-arcade/holotz-castle/holotz-castle-1.3.14.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild')
-rw-r--r-- | games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild b/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild new file mode 100644 index 000000000000..fc6a09fa5679 --- /dev/null +++ b/games-arcade/holotz-castle/holotz-castle-1.3.14.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs games + +DESCRIPTION="2D platform game" +HOMEPAGE="http://www.mainreactor.net/holotzcastle/en/index_en.html" +SRC_URI="http://www.mainreactor.net/holotzcastle/download/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/sdl-mixer + media-libs/libsdl + media-libs/sdl-ttf + media-libs/sdl-image" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${P}-src + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-underlink.patch +} + +src_compile() { + tc-export AR + emake -C JLib + emake -C src HC_BASE="${GAMES_DATADIR}"/${PN}/ +} + +src_install() { + dogamesbin holotz-castle holotz-castle-editor + insinto "${GAMES_DATADIR}"/${PN}/game + doins -r res/* + insinto "${GAMES_DATADIR}"/${PN}/editor + doins -r HCedHome/res/* + newicon res/icon/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} "Holotz's Castle" /usr/share/pixmaps/${PN}.bmp + make_desktop_entry ${PN}-editor "Holotz's Castle - Editor" \ + /usr/share/pixmaps/${PN}.bmp + dodoc doc/MANUAL*.txt + doman man/*.6 + prepgamesdirs +} |