wok-current view warzone2100/receipt @ rev 17999
lxsession: revert back (0.4.6.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 25 04:52:15 2015 +0300 (2015-04-25) |
parents | 6b09507225ec |
children | 002dece9cd28 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://wz2100.net/"
11 WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
13 DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs \
14 quesoglc popt ttf-dejavu ttf-dejavu-extra"
15 BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev \
16 libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev \
17 quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --disable-motif \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/applications $fs/usr/share
35 cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
36 cp -a $install/usr/share/warzone2100 $fs/usr/share
37 }