/[gentoo-x86]/games-action/chromium/chromium-0.9.13.3.ebuild
Gentoo

Contents of /games-action/chromium/chromium-0.9.13.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Oct 3 17:28:32 2009 UTC (11 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.13.3.ebuild,v 1.7 2009/03/22 20:51:44 darkside Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="Chromium B.S.U. - an arcade game"
9 HOMEPAGE="http://chromium-bsu.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz"
11
12 LICENSE="Artistic"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE="mixer sdl"
16
17 DEPEND="media-fonts/dejavu
18 >=media-libs/ftgl-2.1.3_rc5
19 media-libs/glpng
20 virtual/opengl
21 virtual/glu
22 x11-libs/libXmu
23 mixer? ( media-libs/sdl-mixer )
24 !mixer? ( media-libs/freealut
25 media-libs/openal )
26 sdl? ( media-libs/libsdl )
27 !sdl? ( virtual/glut )"
28
29 src_configure() {
30 egamesconf \
31 --disable-dependency-tracking \
32 --with-font-path="/usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf" \
33 $(use_enable mixer sdlmixer) \
34 $(use_enable !mixer openal) \
35 $(use_enable sdl) \
36 $(use_enable !sdl glut)
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die "emake install failed"
41
42 # remove installed /usr/games/share stuff
43 rm -rf "${D}"/"${GAMES_PREFIX}"/share/
44 doicon misc/${PN}.png || die "doicon failed"
45 make_desktop_entry chromium "Chromium B.S.U"
46
47 # install documentation
48 dodoc AUTHORS README NEWS || die "dodoc failed"
49 dohtml "${S}"/data/doc/*.htm || die "dohtml failed"
50 cd "${S}"/data/doc/images
51 insinto /usr/share/doc/${PF}/html/images
52 doins *.jpg || die "doins failed"
53
54 prepgamesdirs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20