diff options
author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-07-28 19:55:01 +0200 |
---|---|---|
committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-07-28 19:55:01 +0200 |
commit | ec5926ac23bd24a13769c86ab2f01bd27835a560 (patch) | |
tree | ab239c1d9b9950113570983d6649ab637122509c /games-rpg | |
parent | [Documentation] Example metadata.xml for grabs :] (diff) | |
download | gamerlay-ec5926ac23bd24a13769c86ab2f01bd27835a560.tar.gz gamerlay-ec5926ac23bd24a13769c86ab2f01bd27835a560.tar.bz2 gamerlay-ec5926ac23bd24a13769c86ab2f01bd27835a560.zip |
Initial commit of few games that i had prepared in mine overlay
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/egoboo/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/egoboo/egoboo-2.7.7.ebuild | 56 | ||||
-rw-r--r-- | games-rpg/egoboo/metadata.xml | 5 |
3 files changed, 65 insertions, 0 deletions
diff --git a/games-rpg/egoboo/Manifest b/games-rpg/egoboo/Manifest new file mode 100644 index 0000000..b5b26f4 --- /dev/null +++ b/games-rpg/egoboo/Manifest @@ -0,0 +1,4 @@ +DIST egoboo-data-2.7.7.tar.gz 68844645 RMD160 c550d59a78ed37a1fd03b7c519f5e1f74c1514bd SHA1 8105b3491e5684c73c5f154ea10ea8a1d2d53163 SHA256 51f9fdf52e1b20f3e22d10ef035dc09a0eb6c4e89a99109d702d35ff4c6e4957 +DIST egoboo-source-2.7.7.tar.gz 386050 RMD160 54383b8b15e203c7bd33f2104b8bf5db7a8cf442 SHA1 9edcbb6d316182afa667d51ea4bcd6676acf887e SHA256 2fb1a725a1582d4671c71b4136558740a67c2ee0347aea737d64fbd68ff1a906 +EBUILD egoboo-2.7.7.ebuild 1567 RMD160 82e40ce75398a83c1c1e7744dfe38bf8da5cfa81 SHA1 3daaaf59dfe56f167e9394a21de5024425e06255 SHA256 7375b844d4400f998379270d6644d64b67e6b47b3a08c830071e24fed11ecff3 +MISC metadata.xml 161 RMD160 734c72757bdba2e93d5c7cfa946fd9eb69e01681 SHA1 e721608e30cdca8dd809c1024687fe4887c49293 SHA256 5102a957a119374da719ca711f473e89fd4183d4e91e86f59e2fc4dce7e607dc diff --git a/games-rpg/egoboo/egoboo-2.7.7.ebuild b/games-rpg/egoboo/egoboo-2.7.7.ebuild new file mode 100644 index 0000000..dbadfeb --- /dev/null +++ b/games-rpg/egoboo/egoboo-2.7.7.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/egoboo/egoboo-2.22-r1.ebuild,v 1.3 2007/10/30 06:33:57 mr_bones_ Exp $ + +inherit eutils flag-o-matic toolchain-funcs games + +MY_SRC="${PN}-source-${PV}" +MY_DATA="${PN}-data-${PV}" +DESCRIPTION="A 3d dungeon crawling adventure in the spirit of NetHack" +HOMEPAGE="http://egoboo.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz + mirror://sourceforge/${PN}/${PN}-data-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + virtual/glu + media-libs/sdl-ttf + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/libsdl" + +S="${WORKDIR}"/${MY_SRC}/game/ + +src_unpack() { + unpack ${A} + cd "${S}" + cp Makefile.unix Makefile +} + +src_compile() { + emake clean || die "emake clean failed" + emake || die "emake failed" +} + +src_install () { + games_make_wrapper ${PN} ./${PN} "${GAMES_DATADIR}/${PN}" + insinto "${GAMES_DATADIR}/${PN}" + doins egoboo + cd "${WORKDIR}"/"${MY_DATA}" + dodoc Changelog.txt Readme.txt + doins -r basicdat/ modules/ players/ setup.txt controls.txt \ + || die "doins failed" + # FIXME: this is stupid. should be patched to run out of GAMES_BINDIR + fperms 750 "${GAMES_DATADIR}/${PN}/${PN}" + newicon basicdat/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp + + prepgamesdirs + # ugly, but the game needs write here. + cd "${D}${GAMES_DATADIR}/${PN}" + chmod -R g+w setup.txt controls.txt basicdat players modules +} diff --git a/games-rpg/egoboo/metadata.xml b/games-rpg/egoboo/metadata.xml new file mode 100644 index 0000000..4a5a466 --- /dev/null +++ b/games-rpg/egoboo/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>playboys</herd> +</pkgmetadata> |