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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 19 16:56:07 2010 UTC (4 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 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.5.ebuild,v 1.5 2010/03/30 03:20:30 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 ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="debug nls unicode"
16
17 RDEPEND="media-libs/libsdl[joystick,video]
18 media-libs/sdl-image[jpeg,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_prepare() {
34 sed -i \
35 -e "/AX_CFLAGS_WARN_ALL/d" \
36 -e "s/-Werror//g" \
37 configure.ac \
38 || die "sed failed"
39 sed -i \
40 -e "/xdg/d" \
41 -e "/pixmaps/d" \
42 data/Makefile.am \
43 || die "sed failed"
44 eautoreconf
45 }
46
47 src_configure() {
48 egamesconf \
49 --disable-dependency-tracking \
50 --with-localedir-name=/usr/share/locale \
51 --with-datadir-name="${GAMES_DATADIR}/${PN}" \
52 --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
53 $(use_enable debug) \
54 $(use_enable nls) \
55 $(use_enable unicode fribidi)
56 }
57
58 src_install() {
59 emake DESTDIR="${D}" install || die "emake install failed"
60 dodoc AUTHORS ChangeLog README TODO
61 doicon data/wormux.svg
62 make_desktop_entry wormux Wormux
63 prepgamesdirs
64 }

  ViewVC Help
Powered by ViewVC 1.1.20