wok diff libxcb-dev/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents c358d2c8fa30
children a78610b2eb47
line diff
     1.1 --- a/libxcb-dev/receipt	Sun Mar 30 21:43:58 2014 +0200
     1.2 +++ b/libxcb-dev/receipt	Mon Aug 18 08:45:31 2014 +0000
     1.3 @@ -2,6 +2,7 @@
     1.4  
     1.5  PACKAGE="libxcb-dev"
     1.6  VERSION="1.10"
     1.7 +ARM_VERSION="1.9.1"
     1.8  CATEGORY="development"
     1.9  SHORT_DESC="Development files for libxcb"
    1.10  MAINTAINER="mallory@sweetpeople.org"
    1.11 @@ -12,6 +13,15 @@
    1.12  WANTED="libxcb"
    1.13  DEPENDS="xorg-libXau-dev xorg-libXdmcp-dev pkg-config"
    1.14  
    1.15 +# Handle SliTaz arch
    1.16 +case "$SLITAZ_ARCH" in
    1.17 +	arm*) VERSION="$ARM_VERSION" ;;
    1.18 +esac
    1.19 +
    1.20 +case "$ARCH" in
    1.21 +	arm*) VERSION="$ARM_VERSION" ;;
    1.22 +esac
    1.23 +
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {