wok-4.x view warzone2100/receipt @ rev 11730

tintin: don't use extension in desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Feb 21 09:02:38 2012 -0800 (2012-02-21)
parents 7105413c66f2
children
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 quesoglc popt ttf-dejavu ttf-dejavu-extra"
13 BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --disable-motif \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/applications $fs/usr/share
31 cp -a $_pkg/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/share/warzone2100 $fs/usr/share
33 }