diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-07-31 12:30:22 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-07-31 12:30:22 +0000 |
commit | 3678e308fbb56b9b095cd9462e089cea88af21dd (patch) | |
tree | dd6f9fbf232cbdc79447eddf44aa3d3932ee77be /games-arcade/moleinvasion | |
parent | Marked stable on AMD64 as requested by Jeroen Roovers <jer@gentoo.org> in bug... (diff) | |
download | gentoo-2-3678e308fbb56b9b095cd9462e089cea88af21dd.tar.gz gentoo-2-3678e308fbb56b9b095cd9462e089cea88af21dd.tar.bz2 gentoo-2-3678e308fbb56b9b095cd9462e089cea88af21dd.zip |
Initial commit
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade/moleinvasion')
-rw-r--r-- | games-arcade/moleinvasion/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/moleinvasion/metadata.xml | 8 | ||||
-rw-r--r-- | games-arcade/moleinvasion/moleinvasion-0.4.ebuild | 42 |
3 files changed, 60 insertions, 0 deletions
diff --git a/games-arcade/moleinvasion/ChangeLog b/games-arcade/moleinvasion/ChangeLog new file mode 100644 index 000000000000..b87bf1e217af --- /dev/null +++ b/games-arcade/moleinvasion/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-arcade/moleinvasion +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/moleinvasion/ChangeLog,v 1.1 2009/07/31 12:30:22 nyhm Exp $ + +*moleinvasion-0.4 (31 Jul 2009) + + 31 Jul 2009; Tristan Heaven <nyhm@gentoo.org> +moleinvasion-0.4.ebuild, + +metadata.xml: + Initial commit + diff --git a/games-arcade/moleinvasion/metadata.xml b/games-arcade/moleinvasion/metadata.xml new file mode 100644 index 000000000000..96ceb3270a0d --- /dev/null +++ b/games-arcade/moleinvasion/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <use> + <flag name="music">Download and install the music files</flag> + </use> +</pkgmetadata> diff --git a/games-arcade/moleinvasion/moleinvasion-0.4.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4.ebuild new file mode 100644 index 000000000000..727fa846da1b --- /dev/null +++ b/games-arcade/moleinvasion/moleinvasion-0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/moleinvasion/moleinvasion-0.4.ebuild,v 1.1 2009/07/31 12:30:22 nyhm Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Mole infested 2D platform game" +HOMEPAGE="http://moleinvasion.tuxfamily.org/" +SRC_URI="ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-${PV}.tar.bz2 + music? ( mirror://gentoo/${PN}-music-20090731.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="music" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf" + +S=${WORKDIR}/${P}/src + +src_prepare() { + use music && mv -f "${WORKDIR}"/music ../ + sed -i \ + -e '/^CFLAGS/s:= -g:+=:' \ + -e '/^LDFLAGS/d' \ + -e "/^FINALEXEDIR/s:/usr.*:${GAMES_BINDIR}:" \ + -e "/^FINALDATADIR/s:/usr.*:${GAMES_DATADIR}/${PN}:" \ + Makefile \ + || die "sed failed" +} + +src_install() { + emake DESTDIR="${D}" install install-data || die "emake install failed" + newicon ../gfx/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Mole Invasion" + doman ../debian/*.6 + prepgamesdirs +} |