wok rev 19249

glibc: recompress charmaps with advdef
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 29 13:38:09 2016 +0200 (2016-06-29)
parents d5d1aacad4ba
children b34e3540f205
files glibc/receipt
line diff
     1.1 --- a/glibc/receipt	Wed Jun 29 13:04:18 2016 +0200
     1.2 +++ b/glibc/receipt	Wed Jun 29 13:38:09 2016 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.5  
     1.6  DEPENDS="glibc-base glibc-locale glibc-dev"
     1.7 -BUILD_DEPENDS="linux-api-headers autoconf bash"
     1.8 +BUILD_DEPENDS="linux-api-headers autoconf bash advancecomp"
     1.9  
    1.10  # Genpkg order for tazwok.
    1.11  COOK_OPT="genpkg=glibc-base:glib-locale:glibc-dev"
    1.12 @@ -139,6 +139,9 @@
    1.13  		-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
    1.14  		-e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
    1.15  		`dirname $(gcc --print-libgcc-file-name)`/specs
    1.16 +	for i in $DESTDIR/usr/share/i18n/charmaps/*.gz ; do
    1.17 +		advdef -z4 $i
    1.18 +	done
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.