wok-next view warzone2100/receipt @ rev 12478

glib-dev: fix dep
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:14:29 2012 +0200 (2012-04-23)
parents 7105413c66f2
children 6b09507225ec
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 }