wok-6.x view warzone2100/receipt @ rev 24406
updated clamav and clamav-dev (0.102.3 -> 0.104.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 13:44:54 2022 +0100 (2022-02-09) |
parents | c02f18f9e836 |
children |
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="https://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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/Warzone2100/warzone2100/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lvorbis"
30 ./configure \
31 --disable-motif \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps
43 cp -a $install/usr/share/warzone2100 $fs/usr/share
44 }