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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Aug 15 02:13:48 2006 UTC (8 years, 3 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.1_pre5)

1 # Copyright 1999-2006 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.ebuild,v 1.3 2006/04/24 19:02:24 mr_bones_ 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/wormux/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="debug nls"
15
16 RDEPEND=">=media-libs/libsdl-1.2.6
17 >=media-libs/sdl-image-1.2
18 >=media-libs/sdl-mixer-1.2
19 >=media-libs/sdl-ttf-2.0
20 >=media-libs/sdl-gfx-2.0.13
21 >=dev-cpp/libxmlpp-2.6"
22 DEPEND="${RDEPEND}
23 dev-util/pkgconfig
24 nls? ( sys-devel/gettext )"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch \
30 "${FILESDIR}/${P}-fix-gettext-Makefile.patch" \
31 "${FILESDIR}/${P}-user-CFLAGS.patch" \
32 "${FILESDIR}/${P}-gcc41.patch"
33 }
34
35 src_compile() {
36 egamesconf \
37 --with-datadir-name="${GAMES_DATADIR}/${PN}" \
38 $(use_enable debug) \
39 $(use_enable nls) \
40 || die
41 emake || die "emake failed"
42 }
43
44 src_install() {
45 make DESTDIR="${D}" install || die "make install failed"
46 dodoc AUTHORS README
47 newicon data/wormux-32.xpm wormux.xpm
48 make_desktop_entry wormux Wormux wormux.xpm
49 prepgamesdirs
50 }

  ViewVC Help
Powered by ViewVC 1.1.20