wok-next annotate warzone2100/receipt @ rev 21206
try to build assaultcube again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 09:25:03 2019 +0100 (2019-12-02) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20292 | 1 # SliTaz package receipt v2. |
slaxemulator@6551 | 2 |
slaxemulator@6551 | 3 PACKAGE="warzone2100" |
al@20278 | 4 VERSION="3.2.3" |
slaxemulator@6551 | 5 CATEGORY="games" |
slaxemulator@6551 | 6 SHORT_DESC="3D realtime strategy game on a future Earth" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20292 | 9 WEB_SITE="http://wz2100.net/" |
al@20292 | 10 |
al@20278 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@21020 | 12 WGET_URL="$SF_MIRROR/warzone2100/$TARBALL" |
slaxemulator@6551 | 13 |
al@21078 | 14 BUILD_DEPENDS="automake perl zip unzip gettext-dev qt5-dev libx11-dev \ |
al@21087 | 15 sdl2-dev libpng-dev libtheora-dev openal-dev libvorbis-dev glew-dev \ |
al@21078 | 16 mesa-dev openssl-dev physfs-dev libxrandr-dev fribidi-dev \ |
al@20292 | 17 freetype-dev fontconfig-dev openssl-dev git" |
slaxemulator@11252 | 18 |
al@20292 | 19 compile_rules() { |
al@20292 | 20 # small improvements |
al@20292 | 21 sed -i 's| = |=|' icons/warzone2100.desktop |
al@20292 | 22 rm po/pt_BR.gmo; sed -i 's|\\v||' po/pt_BR.po; msgfmt po/pt_BR.po -o po/pt_BR.gmo |
al@20292 | 23 |
al@20292 | 24 ./autogen.sh && |
slaxemulator@6551 | 25 ./configure \ |
al@20278 | 26 --with-distributor="SliTaz" \ |
al@20292 | 27 --with-appdatadir=/usr/share/appdata \ |
slaxemulator@6551 | 28 $CONFIGURE_ARGS && |
al@20296 | 29 make -C src autorevision.h && |
al@20292 | 30 make && |
al@21020 | 31 make DESTDIR=$install install |
slaxemulator@6551 | 32 } |
slaxemulator@6551 | 33 |
al@20292 | 34 genpkg_rules() { |
al@20292 | 35 copy @std hicolor/ *.mo |
al@20502 | 36 DEPENDS="fontconfig freetype fribidi glew glib openssl glu \ |
al@21087 | 37 libharfbuzz libogg libpng sdl2 libtheora libvorbis mesa openal \ |
al@21087 | 38 physfs qt5-base qt5-script libx11 libxrandr zlib sdl2-net" |
slaxemulator@6551 | 39 } |