public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-arcade/moleinvasion: metadata.xml ChangeLog moleinvasion-0.4.ebuild
@ 2009-07-31 12:30 Tristan Heaven (nyhm)
  0 siblings, 0 replies; only message in thread
From: Tristan Heaven (nyhm) @ 2009-07-31 12:30 UTC (permalink / raw
  To: gentoo-commits

nyhm        09/07/31 12:30:22

  Added:                metadata.xml ChangeLog moleinvasion-0.4.ebuild
  Log:
  Initial commit
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  games-arcade/moleinvasion/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?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>



1.1                  games-arcade/moleinvasion/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# 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




1.1                  games-arcade/moleinvasion/moleinvasion-0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/moleinvasion-0.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/moleinvasion/moleinvasion-0.4.ebuild?rev=1.1&content-type=text/plain

Index: moleinvasion-0.4.ebuild
===================================================================
# 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-31 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 12:30 [gentoo-commits] gentoo-x86 commit in games-arcade/moleinvasion: metadata.xml ChangeLog moleinvasion-0.4.ebuild Tristan Heaven (nyhm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox