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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed May 13 20:19:21 2009 UTC (8 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.11/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-strategy/wormux/wormux-0.8.2.ebuild,v 1.5 2009/02/04 03:14:25 mr_bones_ Exp $
4
5 EAPI=2
6 inherit autotools eutils games
7
8 DESCRIPTION="A free Worms clone"
9 HOMEPAGE="http://www.wormux.org/"
10 SRC_URI="http://download.gna.org/wormux/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE="debug nls unicode"
16
17 RDEPEND="media-libs/libsdl
18 media-libs/sdl-image[png]
19 media-libs/sdl-mixer[vorbis]
20 media-libs/sdl-ttf
21 media-libs/sdl-net
22 media-libs/sdl-gfx
23 media-libs/libpng
24 net-misc/curl
25 media-fonts/dejavu
26 >=dev-cpp/libxmlpp-2.6
27 nls? ( virtual/libintl )
28 unicode? ( dev-libs/fribidi )"
29 DEPEND="${RDEPEND}
30 dev-util/pkgconfig
31 nls? ( sys-devel/gettext )"
32
33 src_unpack() {
34 unpack ${A}
35 cd "${S}"
36 sed -i \
37 -e "/AX_CFLAGS_WARN_ALL/d" \
38 -e "s/-Werror//g" \
39 -e "s/fribidi-config/pkg-config fribidi/g" \
40 configure.ac \
41 || die "sed failed"
42 sed -i \
43 -e "/xdg/d" \
44 -e "/pixmaps/d" \
45 data/Makefile.am \
46 || die "sed failed"
47 eautoreconf
48 }
49
50 src_configure() {
51 egamesconf \
52 --disable-dependency-tracking \
53 --with-localedir-name=/usr/share/locale \
54 --with-datadir-name="${GAMES_DATADIR}/${PN}" \
55 --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
56 $(use_enable debug) \
57 $(use_enable nls) \
58 $(use_enable unicode fribidi) \
59 || die "configuration failed"
60 }
61
62 src_install() {
63 emake DESTDIR="${D}" install || die "emake install failed"
64 dodoc AUTHORS ChangeLog README TODO
65 newicon data/wormux.svg wormux.svg
66 make_desktop_entry wormux Wormux
67 prepgamesdirs
68 }

  ViewVC Help
Powered by ViewVC 1.1.20