wok diff xorg-xkeyboard-config/receipt @ rev 19625

Up openssh (7.4p1) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 12 09:30:51 2017 +0100 (2017-01-12)
parents eb8067417980
children 814c58f64f83
line diff
     1.1 --- a/xorg-xkeyboard-config/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xkeyboard-config/receipt	Thu Jan 12 09:30:51 2017 +0100
     1.3 @@ -10,24 +10,26 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.x.org/"
     1.6  WGET_URL="http://xorg.freedesktop.org/releases/individual/data/$SOURCE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="xorg-xkbcomp"
    1.10  BUILD_DEPENDS="perl-xml-parser xorg-xkbcomp xorg-xproto xorg-libX11-dev intltool"
    1.11  
    1.12 +# Handle cross compilation. Use build host: xorg-xkbcomp perl-xml-parser
    1.13 +case "$ARCH" in
    1.14 +	arm) BUILD_DEPENDS="xorg-xproto xorg-libX11-dev" ;;
    1.15 +esac
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd $src
    1.21 -    ./configure \
    1.22 -    	--prefix=/usr\
    1.23 -    	--sysconfdir=/etc \
    1.24 -    	--mandir=/usr/share/man \
    1.25 -    	--localstatedir=/var \
    1.26 -    	--with-xkb-base=/usr/share/X11/xkb \
    1.27 -    	--with-xkb-rules-symlink=xorg \
    1.28 -    	$CONFIGURE_ARGS &&
    1.29 -    make &&
    1.30 -    make DESTDIR=$DESTDIR install
    1.31 +	./configure \
    1.32 +		--sysconfdir=/etc \
    1.33 +		--localstatedir=/var \
    1.34 +		--with-xkb-base=/usr/share/X11/xkb \
    1.35 +		--with-xkb-rules-symlink=xorg \
    1.36 +		$CONFIGURE_ARGS &&
    1.37 +	make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.