diff options
author | 2009-01-04 21:26:00 +0000 | |
---|---|---|
committer | 2009-01-04 21:26:00 +0000 | |
commit | ce34010df7a7c1c10f12b079f9bbab909ea41a45 (patch) | |
tree | d74a6d5c8c05f64779bf5ea2f84a809242b11829 /games-action | |
parent | net-dns/unbound: updated DEPEND due to some strange problems reported with ol... (diff) | |
download | sunrise-reviewed-ce34010df7a7c1c10f12b079f9bbab909ea41a45.tar.gz sunrise-reviewed-ce34010df7a7c1c10f12b079f9bbab909ea41a45.tar.bz2 sunrise-reviewed-ce34010df7a7c1c10f12b079f9bbab909ea41a45.zip |
games-action/meritous: Add games-action/meritous (Bug #253779)
svn path=/sunrise/; revision=7589
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/meritous/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/meritous/Manifest | 6 | ||||
-rw-r--r-- | games-action/meritous/files/Makefile-flags.patch | 28 | ||||
-rw-r--r-- | games-action/meritous/meritous-1.2.ebuild | 47 | ||||
-rw-r--r-- | games-action/meritous/metadata.xml | 5 |
5 files changed, 94 insertions, 0 deletions
diff --git a/games-action/meritous/ChangeLog b/games-action/meritous/ChangeLog new file mode 100644 index 000000000..8b7d1639d --- /dev/null +++ b/games-action/meritous/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-action/meritous +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 04 Jan 2009; Erik Hahn (a_b) <erik_hahn@gmx.de> +meritous-1.2.ebuild, + +files/Makefile-flags.patch, +metadata.xml: + Add games-action/meritous (Bug #253779) + diff --git a/games-action/meritous/Manifest b/games-action/meritous/Manifest new file mode 100644 index 000000000..ebcf9e890 --- /dev/null +++ b/games-action/meritous/Manifest @@ -0,0 +1,6 @@ +AUX Makefile-flags.patch 772 RMD160 4e56507d39251d606c798f3f501a42cb7fdae41c SHA1 5471944e653c3fd363b8ad2f885104074b6aa8b6 SHA256 255c0226265d5bb9b269b667de44855fd9f09cb88fbbab7641994c14ec475464 +DIST data-dir.patch 23839 RMD160 517b06b6228a63d3cd211392008cef5366014d41 SHA1 30dde1b4f6193cdaf68263a3353e7da8b51a75e1 SHA256 1344a4cf82b6379326e8174ebc349ffc9b0b0d7a31b2015b22b4b3d586d48055 +DIST meritous_v12_src.tar.bz2 2469389 RMD160 aaa880c80a85c524ec8bb344edab015f86132781 SHA1 05c315b17324451c131b4c1cbded2e9f5ae23176 SHA256 20b2086240c810c04fd0ce4a24f9d9c9dacbac47da61c26758943f1fdef7571d +EBUILD meritous-1.2.ebuild 1075 RMD160 3a7599d7de3172743d5909d8ca4e1c50e63c28a1 SHA1 4c6e591ce5c797874a6a43ca50bccbe823b372db SHA256 a4fdbd5a28a6943195281a4e857e7e9213ab9104b20d11cffb1ed9524d724d6a +MISC ChangeLog 283 RMD160 c806a6e6672135802321331a441ee7f531066e8d SHA1 d7149b4d6843827361760f0a4972a0a9a35a81bd SHA256 7bf19b6bcc4fae174f5cb41000befb5bacffef49380917ed862b92dd0616f138 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/games-action/meritous/files/Makefile-flags.patch b/games-action/meritous/files/Makefile-flags.patch new file mode 100644 index 000000000..62e60a04a --- /dev/null +++ b/games-action/meritous/files/Makefile-flags.patch @@ -0,0 +1,28 @@ +--- Makefile.orig 2009-01-04 20:17:22.000000000 +0100 ++++ Makefile 2009-01-04 21:01:55.000000000 +0100 +@@ -18,9 +18,10 @@ + # You should have received a copy of the GNU General Public License + # along with Meritous. If not, see <http://www.gnu.org/licenses/>. + # +-LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lz +-CCFLAGS = -O2 -Wall `sdl-config --cflags` -g ++CFLAGS ?= -O2 -Wall -g ++CFLAGS += `sdl-config --cflags` + # ++LIBS = -lSDL_image -lSDL_mixer `sdl-config --libs` -lz + OBJS = src/levelblit.o \ + src/mapgen.o \ + src/demon.o \ +@@ -35,10 +36,10 @@ + default: meritous + + %.o: %.c +- gcc -c -o $@ $? ${CCFLAGS} ++ gcc -c -o $@ $? ${CFLAGS} + + meritous: ${OBJS} +- gcc -o $@ $+ ${LDFLAGS} ++ gcc ${LDFLAGS} $+ ${LIBS} -o $@ + + clean: + rm ${OBJS} diff --git a/games-action/meritous/meritous-1.2.ebuild b/games-action/meritous/meritous-1.2.ebuild new file mode 100644 index 000000000..330a62a9d --- /dev/null +++ b/games-action/meritous/meritous-1.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit games toolchain-funcs versionator + +MY_P="${PN}_v$(delete_all_version_separators $PV)_src" + +DESCRIPTION="Action-adventure dungen crawl game" +HOMEPAGE="http://www.asceai.net/meritous/" +SRC_URI="http://www.asceai.net/files/${MY_P}.tar.bz2 + ( http://omploader.org/vMTNkZg -> data-dir.patch )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + cd "${S}" + epatch "${DISTDIR}"/data-dir.patch + epatch "${FILESDIR}"/Makefile-flags.patch + sed -ie 's/gcc/$(CC)/' Makefile || die "sed Makefile failed" +} + +src_compile() { + CFLAGS="${CFLAGS} -DDATA_DIR=\\\"${GAMES_DATADIR}/meritous\\\"" + emake CC=$(tc-getCC) default +} + +src_install() { + dodir "${GAMES_DATADIR}/meritous" || die + insinto "${GAMES_DATADIR}/meritous" || die + doins -r dat/* || die + dogamesbin meritous || die + dodoc readme.txt || die + prepgamesdirs +} diff --git a/games-action/meritous/metadata.xml b/games-action/meritous/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/games-action/meritous/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>maintainer-wanted</herd> +</pkgmetadata> |