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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Aug 15 21:15:14 2006 UTC (7 years, 10 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.1_pre5-r1)

1 # Copyright 1999-2006 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.1.ebuild,v 1.4 2006/04/24 19:02:24 mr_bones_ 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="~amd64 x86"
14 IUSE="nls debug"
15
16 RDEPEND=">=dev-games/clanlib-0.7
17 =dev-cpp/libxmlpp-1*"
18 DEPEND="${RDEPEND}
19 || ( x11-libs/libXt virtual/x11 )
20 nls? ( sys-devel/gettext )"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25
26 epatch "${FILESDIR}"/${P}-gcc41.patch
27
28 if use nls ; then
29 sed -i \
30 -e '/^localedir =/s:=.*:=/usr/share/locale:' \
31 po/Makefile.in || die "sed localedir"
32 fi
33 }
34
35 src_compile() {
36 egamesconf \
37 $(use_enable nls) \
38 $(use_enable debug) \
39 || die "egamesconf"
40 emake || die "emake"
41 }
42
43 src_install() {
44 make install DESTDIR="${D}" || die "make install failed"
45 dodoc AUTHORS README
46 prepgamesdirs
47 }

  ViewVC Help
Powered by ViewVC 1.1.20