summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-13 22:33:59 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-13 22:33:59 +0000
commit95f4d5c885682ce6132f36725ef7b1efa32cfccb (patch)
tree199af70c96ce999d82cdcd85de1ec4f503366fc8 /games-arcade
parentManifest (diff)
downloadgentoo-2-95f4d5c885682ce6132f36725ef7b1efa32cfccb.tar.gz
gentoo-2-95f4d5c885682ce6132f36725ef7b1efa32cfccb.tar.bz2
gentoo-2-95f4d5c885682ce6132f36725ef7b1efa32cfccb.zip
Install menu entry
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/sdlroids/ChangeLog7
-rw-r--r--games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild15
2 files changed, 13 insertions, 9 deletions
diff --git a/games-arcade/sdlroids/ChangeLog b/games-arcade/sdlroids/ChangeLog
index b10f6b78ea20..114443642fdd 100644
--- a/games-arcade/sdlroids/ChangeLog
+++ b/games-arcade/sdlroids/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/sdlroids
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlroids/ChangeLog,v 1.11 2006/12/06 17:09:46 wolf31o2 Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlroids/ChangeLog,v 1.12 2007/03/13 22:33:59 nyhm Exp $
+
+ 13 Mar 2007; Tristan Heaven <nyhm@gentoo.org> sdlroids-1.3.4-r3.ebuild:
+ Install menu entry
06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
sdlroids-1.3.4-r3.ebuild:
diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild
index 8fbdfef0301c..c8929da0fbed 100644
--- a/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild
+++ b/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild,v 1.9 2006/12/06 17:09:46 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild,v 1.10 2007/03/13 22:33:58 nyhm Exp $
inherit eutils games
@@ -13,22 +13,23 @@ SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE=""
-RDEPEND=">=media-libs/libsdl-1.1.8
+DEPEND="media-libs/libsdl
media-libs/sdl-mixer"
src_unpack() {
unpack ${A}
-
cd "${S}"
sed -i \
-e 's/$(SOUNDSDIR)/$(DESTDIR)$(SOUNDSDIR)/' \
-e 's/$(GFXDIR)/$(DESTDIR)$(GFXDIR)/' Makefile.in \
- || die "sed Makefile.in failed"
- epatch "${FILESDIR}/${PV}-sound.patch"
+ || die "sed failed"
+ epatch "${FILESDIR}"/${PV}-sound.patch
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon icons/sdlroids-48x48.xpm ${PN}.xpm
+ make_desktop_entry ${PN} SDLRoids ${PN}.xpm
dodoc ChangeLog README.* TODO
prepgamesdirs
}