/[gentoo-x86]/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild
Gentoo

Contents of /games-puzzle/pipepanic/pipepanic-0.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jan 7 15:43:45 2010 UTC (4 years, 6 months ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Marked ppc stable for bug #297265.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild,v 1.4 2009/12/31 15:44:54 maekke Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="A simple pipe connecting game"
9 HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
10 SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz"
11
12 LICENSE="GPL-2 FreeArt"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl[video]"
18
19 S=${WORKDIR}/${P}-source
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-gentoo.patch
23 # change harcoded data paths to match the install directory
24 sed -i \
25 -e "s:/opt/QtPalmtop/share/pipepanic/:${GAMES_DATADIR}/${PN}/:" \
26 main.h \
27 || die "sed failed"
28 }
29
30 src_install() {
31 dogamesbin "${PN}" || die "dogamesbin failed"
32
33 insinto "${GAMES_DATADIR}/${PN}"
34 doins *.bmp || die "doins failed"
35 newicon PipepanicIcon64.png ${PN}.png
36 make_desktop_entry ${PN} "Pipepanic"
37
38 dodoc AUTHORS ChangeLog README
39
40 prepgamesdirs
41 }

  ViewVC Help
Powered by ViewVC 1.1.20