wok-next view warzone2100/receipt @ rev 14358

electricsheep: partial fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 10:45:17 2013 +0200 (2013-04-18)
parents 0547a154c252
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="warzone2100"
4 VERSION="2.3.9"
5 CATEGORY="games"
6 SHORT_DESC="3D realtime strategy game on a future Earth"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://wz2100.net/"
10 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
12 DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs \
13 quesoglc popt ttf-dejavu ttf-dejavu-extra"
14 BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev \
15 libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev \
16 quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --disable-motif \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/applications $fs/usr/share
34 cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
35 cp -a $install/usr/share/warzone2100 $fs/usr/share
36 }