wok-next view warzone2100/receipt @ rev 20247
libnfc-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 11:14:26 2017 +0100 (2017-11-07) |
parents | 380ffe05937a |
children | d5d0fe089938 |
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 \
18 libglu-mesa-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --disable-motif \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
37 cp -a $install/usr/share/warzone2100 $fs/usr/share
38 }