# HG changeset patch # User Hans-G?nter Theisgen # Date 1580202219 -3600 # Node ID 72dc2894e87b20fe9a235957047a60259d8cbce9 # Parent 42ea0283af1edab389ab60bc096bac73b5207dc6 updated gawk (4.2.1 -> 5.0.1) diff -r 42ea0283af1e -r 72dc2894e87b gawk/receipt --- a/gawk/receipt Tue Jan 28 09:27:21 2020 +0100 +++ b/gawk/receipt Tue Jan 28 10:03:39 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gawk" -VERSION="4.2.1" +VERSION="5.0.1" CATEGORY="development" SHORT_DESC="GNU awk to handle simple data-reformatting." MAINTAINER="pankso@slitaz.org" @@ -13,6 +13,7 @@ DEPENDS="" BUILD_DEPENDS="" + HOST_ARCH="i486 arm" # Rules to compile & install the temporary toolchain. @@ -26,8 +27,8 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --libexecdir=/usr/lib \ + ./configure \ + --libexecdir=/usr/lib \ $CONFIGURE_ARGS && make -j 1 && make install @@ -36,13 +37,17 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - # locales mkdir -p $fs/usr/share/locale - LOCALES="da de es fr id it pt_BR zh_CN" - for locale in $LOCALES - do + + # Set list of wanted locales in LOCALE_PACK + . $WOK/slitaz-i18n/stuff/locale-pack.conf + + # Copy message files in wanted languages, if available + for locale in $LOCALE_PACK + do + [ -d $install/usr/share/locale/$locale ] || continue cp -a $install/usr/share/locale/$locale $fs/usr/share/locale - done + done cp -a $install/usr/bin $fs/usr