wok-next view warzone2100/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 5669e8b3be70 |
children |
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 libx11-dev \
15 sdl2-dev libpng-dev libtheora-dev openal-dev libvorbis-dev glew-dev \
16 mesa-dev openssl-dev physfs-dev 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 libpng sdl2 libtheora libvorbis mesa openal \
38 physfs qt5-base qt5-script libx11 libxrandr zlib sdl2-net"
39 }