wok rev 10392

gparted: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:59:09 2011 +0200 (2011-05-23)
parents 49964eda5823
children 94aa6ab5462c
files gparted/receipt
line diff
     1.1 --- a/gparted/receipt	Mon May 23 18:50:47 2011 +0200
     1.2 +++ b/gparted/receipt	Mon May 23 18:59:09 2011 +0200
     1.3 @@ -13,6 +13,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://gparted.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +CROSS="error: cannot run test program while cross compiling"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11 @@ -22,9 +23,9 @@
    1.12  		--prefix=/usr \
    1.13  		--disable-scrollkeeper \
    1.14  		--disable-doc \
    1.15 -		$CONFIGURE_ARGS &&
    1.16 -	make &&
    1.17 -	make DESTDIR=$PWD/_pkg install
    1.18 +		--build=$HOST_SYSTEM \
    1.19 +		--host=$HOST_SYSTEM &&
    1.20 +	make && make install
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.