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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 21 23:53:44 2010 UTC (4 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.7.17/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.9.0.ebuild,v 1.2 2010/02/18 17:04:13 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[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-libs/libxml2
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 epatch "${FILESDIR}"/${P}-gentoo.patch
35 eautoreconf
36 }
37
38 src_configure() {
39 egamesconf \
40 --disable-dependency-tracking \
41 --with-localedir-name=/usr/share/locale \
42 --with-datadir-name="${GAMES_DATADIR}/${PN}" \
43 --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
44 $(use_enable debug) \
45 $(use_enable nls) \
46 $(use_enable unicode fribidi)
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 dodoc AUTHORS ChangeLog README TODO
52 rm -f "${D}${GAMES_DATADIR}/${PN}/font/DejaVuSans.ttf"
53 doicon data/wormux.svg
54 make_desktop_entry wormux Wormux
55 prepgamesdirs
56 }

  ViewVC Help
Powered by ViewVC 1.1.20