wok view warzone2100/receipt @ rev 8214
imported patch toolchain/zlib.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 984ef823b1f3 |
children | 7105413c66f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="warzone2100"
4 VERSION="2.3.6"
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 --disable-motif \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 cp -a $_pkg/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/share/warzone2100 $fs/usr/share
35 }