wok rev 19248

xorg-base-fonts, kbd: recompress with advdef
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 29 13:04:18 2016 +0200 (2016-06-29)
parents 03f41e848202
children faaf4f7a0acc
files kbd/receipt pciids/receipt usbids/receipt xorg-base-fonts/receipt
line diff
     1.1 --- a/kbd/receipt	Wed Jun 29 10:29:16 2016 +0200
     1.2 +++ b/kbd/receipt	Wed Jun 29 13:04:18 2016 +0200
     1.3 @@ -13,7 +13,7 @@
     1.4  HOST_ARCH="i486 arm"
     1.5  
     1.6  DEPENDS="kbd-base"
     1.7 -BUILD_DEPENDS="wget flex pam-dev check-dev"
     1.8 +BUILD_DEPENDS="wget flex pam-dev check-dev advancecomp"
     1.9  
    1.10  # Handle cross compilation.
    1.11  case "$ARCH" in
    1.12 @@ -40,9 +40,11 @@
    1.13  				--localedir=/usr/share/locale \
    1.14  				$CONFIGURE_ARGS ;;
    1.15  	esac &&
    1.16 -	make && make install
    1.17 +	make && make install &&
    1.18 +	find $DESTDIR/usr/share/kbd -name '*gz' -exec advdef -z4 {} \;
    1.19  }
    1.20  
    1.21 +
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
     2.1 --- a/pciids/receipt	Wed Jun 29 10:29:16 2016 +0200
     2.2 +++ b/pciids/receipt	Wed Jun 29 13:04:18 2016 +0200
     2.3 @@ -11,7 +11,7 @@
     2.4  WGET_URL="${WEB_SITE}v2.2/pci.ids.gz"
     2.5  HOST_ARCH="i486 arm"
     2.6  
     2.7 -BUILD_DEPENDS="advdef"
     2.8 +BUILD_DEPENDS="advancecomp"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
     3.1 --- a/usbids/receipt	Wed Jun 29 10:29:16 2016 +0200
     3.2 +++ b/usbids/receipt	Wed Jun 29 13:04:18 2016 +0200
     3.3 @@ -11,7 +11,7 @@
     3.4  WGET_URL="${WEB_SITE}usb.ids.gz"
     3.5  HOST_ARCH="i486 arm"
     3.6  
     3.7 -BUILD_DEPENDS="advdef"
     3.8 +BUILD_DEPENDS="advancecomp"
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
     4.1 --- a/xorg-base-fonts/receipt	Wed Jun 29 10:29:16 2016 +0200
     4.2 +++ b/xorg-base-fonts/receipt	Wed Jun 29 13:04:18 2016 +0200
     4.3 @@ -11,6 +11,14 @@
     4.4  WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
     4.5  HOST_ARCH="i486 arm"
     4.6  
     4.7 +BUILD_DEPENDS="advancecomp"
     4.8 +
     4.9 +# Rules to configure and make the package.
    4.10 +compile_rules()
    4.11 +{
    4.12 +	find $src/fonts -name '*.gz' -exec advdef -z4 {} \;
    4.13 +}
    4.14 +
    4.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.16  genpkg_rules()
    4.17  {