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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 20 19:08:34 2010 UTC (3 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
version bump; clean 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.9.2.ebuild,v 1.2 2010/04/20 16:57:13 ssuominen 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 net-misc/curl
24 media-fonts/dejavu
25 dev-libs/libxml2
26 x11-libs/libX11
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 "${FILESDIR}"/${P}-x86_64.patch
36 eautoreconf
37 }
38
39 src_configure() {
40 egamesconf \
41 --disable-dependency-tracking \
42 --with-localedir-name=/usr/share/locale \
43 --with-datadir-name="${GAMES_DATADIR}/${PN}" \
44 --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
45 $(use_enable debug) \
46 $(use_enable nls) \
47 $(use_enable unicode fribidi)
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "emake install failed"
52 dodoc AUTHORS ChangeLog README TODO
53 rm -f "${D}${GAMES_DATADIR}/${PN}/font/DejaVuSans.ttf"
54 doicon data/wormux.svg
55 make_desktop_entry wormux Wormux
56 prepgamesdirs
57 }

  ViewVC Help
Powered by ViewVC 1.1.20