diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-10 06:26:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-10 06:26:30 +0000 |
commit | db8cf8d8603998d9bfa380198fce404e72b86f56 (patch) | |
tree | 23c165fd2097bb5c421ed675b0c00fd1b5895ed7 /games-puzzle/rezerwar | |
parent | Version bump. (diff) | |
download | gentoo-2-db8cf8d8603998d9bfa380198fce404e72b86f56.tar.gz gentoo-2-db8cf8d8603998d9bfa380198fce404e72b86f56.tar.bz2 gentoo-2-db8cf8d8603998d9bfa380198fce404e72b86f56.zip |
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/rezerwar')
-rw-r--r-- | games-puzzle/rezerwar/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/rezerwar/rezerwar-0.4.2.ebuild | 51 |
2 files changed, 59 insertions, 2 deletions
diff --git a/games-puzzle/rezerwar/ChangeLog b/games-puzzle/rezerwar/ChangeLog index 4dd803c5f056..9476a9884ad2 100644 --- a/games-puzzle/rezerwar/ChangeLog +++ b/games-puzzle/rezerwar/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2009/12/19 19:10:55 pacho Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/rezerwar/ChangeLog,v 1.5 2010/05/10 06:26:30 mr_bones_ Exp $ + +*rezerwar-0.4.2 (10 May 2010) + + 10 May 2010; Michael Sterrett <mr_bones_@gentoo.org> + +rezerwar-0.4.2.ebuild: + version bump 19 Dec 2009; Pacho Ramos <pacho@gentoo.org> rezerwar-0.4.1.ebuild: amd64 stable, bug 296037 diff --git a/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild b/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild new file mode 100644 index 000000000000..0899201b3314 --- /dev/null +++ b/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild,v 1.1 2010/05/10 06:26:30 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="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[audio,joystick,video] + media-libs/sdl-mixer[vorbis]" + +src_prepare() { + sed -i \ + -e '/check_sdl$/d' \ + -e 's/-O2 //' \ + configure \ + || die 'sed failed' + sed -i \ + -e '/CC.*OBJECTS/s:$(CC):$(CC) $(LDFLAGS):' \ + mkfiles/Makefile.src \ + || die "sed failed" +} + +src_configure() { + SDLCONFIG=sdl-config \ + TARGET_BIN="${GAMES_BINDIR}" \ + TARGET_DOC=/usr/share/doc/${PF} \ + TARGET_DATA="${GAMES_DATADIR}/${PN}" \ + ./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 +} |