wok view warzone2100/receipt @ rev 23607
Up slitaz-boot-scripts (459)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 12 10:18:55 2020 +0000 (2020-04-12) |
parents | 380ffe05937a |
children | c02f18f9e836 |
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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lvorbis"
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 }