/[gentoo-x86]/games-sports/stormbaancoureur/stormbaancoureur-2.1.6.ebuild
Gentoo

Contents of /games-sports/stormbaancoureur/stormbaancoureur-2.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Feb 20 17:57:59 2012 UTC (2 years, 9 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +6 -16 lines
use patch instead of lots of sed

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-sports/stormbaancoureur/stormbaancoureur-2.1.6.ebuild,v 1.3 2010/09/16 17:52:37 scarabeus Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="Simulated obstacle course for automobiles"
9 HOMEPAGE="http://www.stolk.org/stormbaancoureur/"
10 SRC_URI="http://www.stolk.org/stormbaancoureur/download/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15 IUSE=""
16
17 DEPEND="virtual/opengl
18 virtual/glu
19 media-libs/freeglut
20 >=dev-games/ode-0.8
21 >=media-libs/plib-1.8.4
22 media-libs/alsa-lib"
23
24 S=${WORKDIR}/${P}/src-${PN}
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}-gentoo.patch
28 sed -ie "s:GENTOODIR:${GAMES_DATADIR}/${PN}:" main.cxx || die
29 }
30
31 src_install() {
32 dogamesbin ${PN} || die
33 insinto "${GAMES_DATADIR}"/${PN}
34 doins -r images/ models/ sounds/ shaders/ || die
35 dodoc JOYSTICKS README TODO
36 make_desktop_entry ${PN} "Stormbaan Coureur"
37 prepgamesdirs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20