blob: ec0504243f42bba2c1c0df90b009625d7238e006 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.5.1.ebuild,v 1.1 2005/07/02 19:35:48 vapier Exp $
inherit eutils games
DESCRIPTION="A free Worms clone"
HOMEPAGE="http://www.wormux.org/"
SRC_URI="http://download.gna.org/wormux/${PN}-src-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE="nls debug"
RDEPEND="virtual/opengl
virtual/x11
>=dev-games/clanlib-0.7
=dev-cpp/libxmlpp-1*
sys-devel/gettext
>=media-libs/libsdl-1.2.4
media-libs/sdl-gfx
media-libs/libvorbis"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd ${S}
if use nls ; then
sed -i \
-e '/^localedir =/s:=.*:=/usr/share/locale:' \
po/Makefile.in || die "sed localedir"
fi
}
src_compile() {
egamesconf \
$(use_enable nls) \
$(use_enable debug) \
|| die "egamesconf"
emake || die "emake"
}
src_install() {
make install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS README
prepgamesdirs
}
|