wok-6.x rev 10381

xorg-libXrandr: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 15:51:14 2011 +0200 (2011-05-23)
parents bce457eab527
children 848af2e8dc82
files xorg-libXrandr/receipt
line diff
     1.1 --- a/xorg-libXrandr/receipt	Mon May 23 15:32:16 2011 +0200
     1.2 +++ b/xorg-libXrandr/receipt	Mon May 23 15:51:14 2011 +0200
     1.3 @@ -11,17 +11,19 @@
     1.4  BUILD_DEPENDS="xorg-randrproto"
     1.5  WEB_SITE="http://www.x.org/"
     1.6  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
     1.7 +CROSS="bug: can not run test programm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	cd $src
    1.13  	./configure \
    1.14 -		--prefix=/usr --sysconfdir=/etc \
    1.15 -		--mandir=/usr/share/man --localstatedir=/var \
    1.16 -		$CONFIGURE_ARGS &&
    1.17 -	make &&
    1.18 -	make DESTDIR=$PWD/_pkg install
    1.19 +		--prefix=/usr \
    1.20 +		--sysconfdir=/etc \
    1.21 +		--localstatedir=/var \
    1.22 +		--build=$HOST_SYSTEM \
    1.23 +		--host=$HOST_SYSTEM &&
    1.24 +	make && make install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.