wok-next view warzone2100/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c0521c689857
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="warzone2100"
4 VERSION="3.2.3"
5 CATEGORY="games"
6 SHORT_DESC="3D realtime strategy game on a future Earth"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wz2100.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/warzone2100/$TARBALL"
14 BUILD_DEPENDS="automake perl zip unzip gettext-dev qt5-dev xorg-libX11-dev \
15 libsdl2-dev libpng16-dev libtheora-dev openal-dev libvorbis-dev glew-dev \
16 mesa-dev openssl-dev physfs-dev xorg-libXrandr-dev fribidi-dev \
17 freetype-dev fontconfig-dev openssl-dev git"
19 compile_rules() {
20 # small improvements
21 sed -i 's| = |=|' icons/warzone2100.desktop
22 rm po/pt_BR.gmo; sed -i 's|\\v||' po/pt_BR.po; msgfmt po/pt_BR.po -o po/pt_BR.gmo
24 ./autogen.sh &&
25 ./configure \
26 --with-distributor="SliTaz" \
27 --with-appdatadir=/usr/share/appdata \
28 $CONFIGURE_ARGS &&
29 make -C src autorevision.h &&
30 make &&
31 make DESTDIR=$install install
32 }
34 genpkg_rules() {
35 copy @std hicolor/ *.mo
36 DEPENDS="fontconfig freetype fribidi glew glib openssl glu \
37 libharfbuzz libogg libpng16 libsdl2 libtheora libvorbis mesa openal \
38 physfs qt5-base qt5-script xorg-libX11 xorg-libXrandr zlib libsdl2-net"
39 }