wok-6.x view warzone2100/receipt @ rev 6551

Added warzone2100. A 3D realtime strategy game on a future Earth.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 07 12:28:16 2010 +0000 (2010-10-07)
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 }