wok-current rev 10354

libIDL: can't cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:49:16 2011 +0200 (2011-05-22)
parents e2da6d423e51
children 3de18d7030ab
files libIDL/receipt
line diff
     1.1 --- a/libIDL/receipt	Sun May 22 16:40:19 2011 +0000
     1.2 +++ b/libIDL/receipt	Sun May 22 22:49:16 2011 +0200
     1.3 @@ -6,19 +6,22 @@
     1.4  SHORT_DESC="IDL Compiling Library."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.7 +WEB_SITE="http://andrewtv.org/libIDL/"
     1.8 +WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL"
     1.9 +CROSS="bug: can not run test program"
    1.10 +
    1.11  DEPENDS="glib"
    1.12  BUILD_DEPENDS="bison flex glib-dev pkg-config"
    1.13 -WEB_SITE="http://andrewtv.org/libIDL/"
    1.14 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19  	cd $src
    1.20 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.22 -	make &&
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	./configure \
    1.25 +		--cache-file=config.cache \
    1.26 +		--build=$HOST_SYSTEM \
    1.27 +		--host=$HOST_SYSTEM &&
    1.28 +	make && make install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.