diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-07-31 12:30:22 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-07-31 12:30:22 +0000 |
commit | 5fcc48c847c87b2c6f179c741a219b0f15d8c7f8 (patch) | |
tree | 6074b2b9b3d2dcfd367a11d4f324c8f00e4ab39f /games-arcade/moleinvasion | |
parent | Marked stable on AMD64 as requested by Jeroen Roovers <jer@gentoo.org> in bug... (diff) | |
download | historical-5fcc48c847c87b2c6f179c741a219b0f15d8c7f8.tar.gz historical-5fcc48c847c87b2c6f179c741a219b0f15d8c7f8.tar.bz2 historical-5fcc48c847c87b2c6f179c741a219b0f15d8c7f8.zip |
Initial commit
Package-Manager: portage-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/Manifest | 15 | ||||
-rw-r--r-- | games-arcade/moleinvasion/metadata.xml | 8 | ||||
-rw-r--r-- | games-arcade/moleinvasion/moleinvasion-0.4.ebuild | 42 |
4 files changed, 75 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/Manifest b/games-arcade/moleinvasion/Manifest new file mode 100644 index 000000000000..538ac8dae9f1 --- /dev/null +++ b/games-arcade/moleinvasion/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST MoleInvasion-0.4.tar.bz2 11213919 RMD160 6075fc2947e0811b46b7f15024f2ec8684122bab SHA1 2a4c6c34e57fe9df51fed02fbd0f955d0490567b SHA256 a011361f07c06d79a5ba6d110d7b06b59da2c57970515d24fab063fe991d922c +DIST moleinvasion-music-20090731.tar.gz 83772534 RMD160 10834261ad857ad19c42323250a08ae6fc88d9b2 SHA1 2feb2d353112a8d6d6a847fe7a2504e0c5667cad SHA256 ef973ca073026dbe944c7c61058b1437e19f5abe144e9451aed6feffe3d72c73 +EBUILD moleinvasion-0.4.ebuild 1154 RMD160 0d6b1c2679a06d90365a21b88b3043d055d83a88 SHA1 f4d19fa687fcc87cdbb4b0d4b33f05e4a174b2d2 SHA256 76aaf25fd5900961579b46af9472a4104f5527dbdaf445975a87ce80b90adabf +MISC ChangeLog 363 RMD160 0015312f73fad6dab8c534a4e55563c49187eb83 SHA1 2dc61b823b8031cc242f5689e30d966d40c5c091 SHA256 71311c5d6ec9c4f673b0ebb4db9d484876b7776f00790577becec2e813902f60 +MISC metadata.xml 239 RMD160 7367376202273040de00f4efe10e4cf8630519f7 SHA1 36a16f3c9c564d5a065a4dc0e3bb9d4adea05b86 SHA256 6b895868af60d56f4562164f82d0752bbc1e1da17f083e477790bfb22b5a96a2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkpy4+UACgkQdz7hIScOURFUpQCgs9z9XOoQcasbG4r+jFJevKrw +gXcAoN9OYP/2RAIqL9lzBSgmQUna2NdX +=ArkE +-----END PGP SIGNATURE----- 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 +} |