/[gentoo-x86]/games-action/supertuxkart/supertuxkart-0.7.ebuild
Gentoo

Contents of /games-action/supertuxkart/supertuxkart-0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jul 30 18:27:54 2011 UTC (3 years ago) by mr_bones_
Branch: MAIN
Changes since 1.5: +2 -1 lines
add dev-libs/fribidi to RDEPEND (bug #375569)

(Portage version: 2.1.10.3/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.7.ebuild,v 1.5 2011/06/22 12:59:19 tupone Exp $
4
5 EAPI=2
6 inherit autotools flag-o-matic eutils games
7
8 DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
9 HOMEPAGE="http://supertuxkart.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/supertuxkart/SuperTuxKart/${PV}/${P}-src.tar.bz2
11 mirror://gentoo/${PN}.png"
12
13 LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain as-is"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc x86"
16 IUSE="debug nls unicode"
17
18 RDEPEND=">=dev-games/irrlicht-1.7.2
19 virtual/opengl
20 media-libs/freeglut
21 virtual/glu
22 net-libs/enet:0
23 media-libs/libvorbis
24 media-libs/openal
25 nls? ( dev-libs/fribidi )
26 virtual/libintl"
27 DEPEND="${RDEPEND}
28 nls? ( sys-devel/gettext )
29 unicode? ( dev-libs/fribidi )"
30
31 src_prepare() {
32 epatch "${FILESDIR}"/${P}-build.patch \
33 "${FILESDIR}"/${P}-underlink.patch
34 rm -rf src/enet
35 eautoreconf
36 }
37
38 src_configure() {
39 append-libs -lpng -ljpeg -lbz2
40
41 egamesconf \
42 --disable-dependency-tracking \
43 --disable-optimization \
44 $(use_enable nls) \
45 $(use_enable debug)
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die
50 doicon "${DISTDIR}"/${PN}.png
51 make_desktop_entry ${PN} SuperTuxKart
52 dodoc AUTHORS ChangeLog README TODO
53 prepgamesdirs
54 }

  ViewVC Help
Powered by ViewVC 1.1.20