/[gentoo-x86]/games-arcade/bomns/bomns-0.99.1.ebuild
Gentoo

Contents of /games-arcade/bomns/bomns-0.99.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Oct 20 15:10:01 2009 UTC (4 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.1.ebuild,v 1.4 2007/04/09 21:49:41 welp Exp $
4
5 inherit flag-o-matic games
6
7 DESCRIPTION="A fast-paced multiplayer deathmatch arcade game."
8 HOMEPAGE="http://greenridge.sourceforge.net"
9 SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
14 IUSE="gtk editor"
15
16 DEPEND="media-libs/libsdl
17 media-libs/sdl-mixer
18 gtk? ( =x11-libs/gtk+-2* )"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -i \
24 -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \
25 configure \
26 graphics/Makefile.in \
27 levels/Makefile.in \
28 sounds/Makefile.in \
29 || die "sed failed"
30 }
31
32 src_compile() {
33 filter-flags -fforce-addr
34 egamesconf \
35 --disable-launcher1 \
36 $(use_enable gtk launcher2) \
37 $(use_enable editor) \
38 || die "econf failed."
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" install || die "make install failed."
43 dodoc AUTHORS ChangeLog NEWS README TODO
44 prepgamesdirs
45 }

  ViewVC Help
Powered by ViewVC 1.1.20