/[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.10 - (show annotations) (download)
Sat Jan 3 14:37:00 2015 UTC (3 years, 11 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +7 -7 lines
EAPI 4

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

1 # Copyright 1999-2015 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.9 2007/03/14 21:24:25 nyhm Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs games
7
8 DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen"
9 HOMEPAGE="http://koti.mbnet.fi/makegho/c/bchase/"
10 SRC_URI="http://koti.mbnet.fi/makegho/c/bchase/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc ~sparc x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl"
18 RDEPEND="${DEPEND}"
19
20 src_prepare() {
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}
30 insinto "${GAMES_DATADIR}"/${PN}
31 doins -r images
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