wok diff gawk/receipt @ rev 23426
updated php packages (7.3.16 -> 7.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 15:23:29 2020 +0100 (2020-04-01) |
parents | 907aa9c9da2b |
children | 71360a13cd94 |
line diff
1.1 --- a/gawk/receipt Sun Mar 03 15:51:24 2019 +0100 1.2 +++ b/gawk/receipt Wed Apr 01 15:23:29 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gawk" 1.7 -VERSION="4.2.1" 1.8 +VERSION="5.0.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="GNU awk to handle simple data-reformatting." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -13,6 +13,7 @@ 1.13 1.14 DEPENDS="" 1.15 BUILD_DEPENDS="" 1.16 + 1.17 HOST_ARCH="i486 arm" 1.18 1.19 # Rules to compile & install the temporary toolchain. 1.20 @@ -26,8 +27,8 @@ 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - ./configure \ 1.25 - --libexecdir=/usr/lib \ 1.26 + ./configure \ 1.27 + --libexecdir=/usr/lib \ 1.28 $CONFIGURE_ARGS && 1.29 make -j 1 && 1.30 make install 1.31 @@ -36,13 +37,17 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - # locales 1.36 mkdir -p $fs/usr/share/locale 1.37 - LOCALES="da de es fr id it pt_BR zh_CN" 1.38 - for locale in $LOCALES 1.39 - do 1.40 + 1.41 + # Set list of wanted locales in LOCALE_PACK 1.42 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.43 + 1.44 + # Copy message files in wanted languages, if available 1.45 + for locale in $LOCALE_PACK 1.46 + do 1.47 + [ -d $install/usr/share/locale/$locale ] || continue 1.48 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.49 - done 1.50 + done 1.51 1.52 cp -a $install/usr/bin $fs/usr 1.53