/[gentoo-x86]/games-arcade/balloonchase/balloonchase-0.9.6.ebuild
Gentoo

Contents of /games-arcade/balloonchase/balloonchase-0.9.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Mar 14 21:24:25 2007 UTC (8 years, 2 months ago) by nyhm
Branch: MAIN
Changes since 1.8: +10 -8 lines
Install menu entry, bug #159844
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/balloonchase/balloonchase-0.9.6.ebuild,v 1.8 2006/05/03 02:53:47 weeve Exp $
4
5 inherit eutils toolchain-funcs games
6
7 DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen"
8 HOMEPAGE="http://koti.mbnet.fi/makegho/c/bchase/"
9 SRC_URI="http://koti.mbnet.fi/makegho/c/bchase/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc ~sparc x86"
14 IUSE=""
15
16 DEPEND="media-libs/libsdl"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}"/${PV}-gentoo.patch
22 sed -i "s:g++:$(tc-getCXX):" Makefile || die "sed failed"
23 sed -i \
24 -e "s:GENTOODIR:${GAMES_DATADIR}/${PN}:" src/main.c \
25 || die 'sed failed'
26 }
27
28 src_install() {
29 dogamesbin ${PN} || die "dogamesbin failed"
30 insinto "${GAMES_DATADIR}"/${PN}
31 doins -r images || die "doins failed"
32 newicon images/kp2b.bmp ${PN}.bmp
33 make_desktop_entry ${PN} "Balloon Chase" /usr/share/pixmaps/${PN}.bmp
34 dodoc README
35 prepgamesdirs
36 }

  ViewVC Help
Powered by ViewVC 1.1.20