diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-10-20 21:57:43 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-10-20 21:57:43 +0000 |
commit | ce88b60ad808c34d14948458fc1bce76d58356c1 (patch) | |
tree | 8a2cb03a54261e5e4f25ac386e8727556fa046d4 /games-puzzle | |
parent | 2.2 is now in beta and waiting for you to test it. Bugs still upstream please... (diff) | |
download | gentoo-2-ce88b60ad808c34d14948458fc1bce76d58356c1.tar.gz gentoo-2-ce88b60ad808c34d14948458fc1bce76d58356c1.tar.bz2 gentoo-2-ce88b60ad808c34d14948458fc1bce76d58356c1.zip |
initial commit (bug #284645)
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/rezerwar/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/rezerwar/metadata.xml | 5 | ||||
-rw-r--r-- | games-puzzle/rezerwar/rezerwar-0.4.1.ebuild | 47 |
3 files changed, 62 insertions, 0 deletions
diff --git a/games-puzzle/rezerwar/ChangeLog b/games-puzzle/rezerwar/ChangeLog new file mode 100644 index 000000000000..df2116f52dbe --- /dev/null +++ b/games-puzzle/rezerwar/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/rezerwar +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/rezerwar/ChangeLog,v 1.1 2009/10/20 21:57:43 mr_bones_ Exp $ + +*rezerwar-0.4.1 (20 Oct 2009) + + 20 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> + +rezerwar-0.4.1.ebuild, +metadata.xml: + initial commit (bug #284645) + diff --git a/games-puzzle/rezerwar/metadata.xml b/games-puzzle/rezerwar/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/rezerwar/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>games</herd> +</pkgmetadata> diff --git a/games-puzzle/rezerwar/rezerwar-0.4.1.ebuild b/games-puzzle/rezerwar/rezerwar-0.4.1.ebuild new file mode 100644 index 000000000000..800202cf7b29 --- /dev/null +++ b/games-puzzle/rezerwar/rezerwar-0.4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/rezerwar/rezerwar-0.4.1.ebuild,v 1.1 2009/10/20 21:57:43 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Puzzle game like the known tetromino and the average pipe games" +HOMEPAGE="http://tamentis.com/projects/rezerwar/" +SRC_URI="http://tamentis.com/projects/rezerwar/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="media-libs/libsdl[audio,joystick,video] + media-libs/sdl-mixer[vorbis]" + +src_prepare() { + sed -i \ + -e '/check_sdl$/d' \ + configure \ + || die 'sed failed' +} + +src_configure() { + SDLCONFIG=sdl-config \ + TARGET_BIN="${GAMES_BINDIR}" \ + TARGET_DOC=/usr/share/doc/${PF} \ + TARGET_DATA="${GAMES_DATADIR}/${PN}" \ + MK_EXTRACFLAGS="${CFLAGS}" \ + ./configure \ + || die "configure failed" + sed -i \ + -e '/TARGET_DOC/d' \ + Makefile \ + || die "sed failed" +} + +src_install() { + dodir "${GAMES_BINDIR}" + emake DESTDIR="${D}" install || die "emake install failed" + dodoc doc/{CHANGES,README,TODO} + make_desktop_entry rezerwar Rezerwar + prepgamesdirs +} |