wok view warzone2100/receipt @ rev 7043

Fixed cupd to check if PIDFILE exist before running cups.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 01 00:34:23 2010 +0000 (2010-11-01)
parents
children 55fee7e071f6
line source
1 # SliTaz package receipt.
3 PACKAGE="warzone2100"
4 VERSION="2.3.5"
5 CATEGORY="games"
6 SHORT_DESC="3D realtime strategy game on a future Earth"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs quesoglc popt ttf-dejavu ttf-dejavu-extra"
9 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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://wz2100.net/"
12 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/applications $fs/usr/share
32 cp -a $_pkg/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/share/warzone2100 $fs/usr/share
34 }