/[gentoo-x86]/games-strategy/wormux/wormux-0.5.0.ebuild
Gentoo

Contents of /games-strategy/wormux/wormux-0.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 4 03:20:27 2005 UTC (9 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.0.53_rc7)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.5.0.ebuild,v 1.4 2005/03/09 17:46:30 luckyduck Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="A free Worms clone"
8 HOMEPAGE="http://www.wormux.org/"
9 SRC_URI="http://download.gna.org/wormux/${PN}-src-${PV}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ~amd64"
14 IUSE="nls debug"
15
16 RDEPEND="virtual/opengl
17 virtual/x11
18 >=dev-games/clanlib-0.7
19 =dev-cpp/libxmlpp-1*
20 sys-devel/gettext
21 >=media-libs/libsdl-1.2.4
22 media-libs/sdl-gfx
23 media-libs/libvorbis"
24 DEPEND="${RDEPEND}
25 nls? ( sys-devel/gettext )"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 if use nls ; then
31 sed -i \
32 -e '/^localedir =/s:=.*:=/usr/share/locale:' \
33 po/Makefile.in || die "sed localedir"
34 fi
35 }
36
37 src_compile() {
38 egamesconf \
39 $(use_enable nls) \
40 $(use_enable debug) \
41 || die "egamesconf"
42 emake || die "emake"
43 }
44
45 src_install() {
46 make install DESTDIR="${D}" || die "make install failed"
47 dodoc AUTHORS README
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20