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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 23 01:32:36 2008 UTC (6 years, 3 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.4)

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-strategy/wormux/wormux-0.7.9.ebuild,v 1.1 2007/02/03 15:51:03 nyhm 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/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="debug nls"
15
16 RDEPEND="media-libs/libsdl
17 media-libs/sdl-image
18 media-libs/sdl-mixer
19 media-libs/sdl-ttf
20 media-libs/sdl-net
21 media-libs/sdl-gfx
22 net-misc/curl
23 >=dev-cpp/libxmlpp-2.6
24 nls? ( virtual/libintl )"
25 DEPEND="${RDEPEND}
26 dev-util/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 src_unpack() {
30 unpack ${A}
31 cd "${S}"
32 epatch "${FILESDIR}"/${P}-user-CFLAGS.patch
33 sed -i \
34 -e '/^xdg_appsdir/s:$(datadir):/usr/share:' \
35 data/Makefile.in \
36 || die "sed failed"
37 }
38
39 src_compile() {
40 egamesconf \
41 --disable-dependency-tracking \
42 --with-datadir-name="${GAMES_DATADIR}"/${PN} \
43 --with-localedir-name=/usr/share/locale \
44 $(use_enable debug) \
45 $(use_enable nls) \
46 || die
47 emake || die "emake failed"
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "emake install failed"
52 doicon data/wormux_128x128.png
53 dodoc AUTHORS ChangeLog README TODO
54 prepgamesdirs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20