/[gentoo-x86]/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild
Gentoo

Contents of /games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Fri Feb 29 18:52:45 2008 UTC (6 years, 5 months ago) by carlo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -3 lines
 Remove icon extension from desktop entry to match Icon Theme Specification.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild,v 1.11 2007/04/24 15:08:42 drizzt Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Asteroids Clone for X using SDL"
8 HOMEPAGE="http://david.hedbor.org/projects/sdlroids/"
9 SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ppc x86 ~x86-fbsd"
14 IUSE=""
15
16 DEPEND="media-libs/libsdl
17 media-libs/sdl-mixer"
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 sed -i \
23 -e 's/$(SOUNDSDIR)/$(DESTDIR)$(SOUNDSDIR)/' \
24 -e 's/$(GFXDIR)/$(DESTDIR)$(GFXDIR)/' Makefile.in \
25 || die "sed failed"
26 epatch "${FILESDIR}"/${PV}-sound.patch
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" install || die "emake install failed"
31 newicon icons/sdlroids-48x48.xpm ${PN}.xpm
32 make_desktop_entry ${PN} SDLRoids ${PN}
33 dodoc ChangeLog README.* TODO
34 prepgamesdirs
35 }

  ViewVC Help
Powered by ViewVC 1.1.20