# HG changeset patch # User Christophe Lincoln # Date 1306097356 -7200 # Node ID 4976495d1f1f715b8fb77207be86efeb36cda97d # Parent e2da6d423e51dfae03631d5d1f67541135ef4528 libIDL: can't cross compile diff -r e2da6d423e51 -r 4976495d1f1f libIDL/receipt --- a/libIDL/receipt Sun May 22 16:40:19 2011 +0000 +++ b/libIDL/receipt Sun May 22 22:49:16 2011 +0200 @@ -6,19 +6,22 @@ SHORT_DESC="IDL Compiling Library." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://andrewtv.org/libIDL/" +WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL" +CROSS="bug: can not run test program" + DEPENDS="glib" BUILD_DEPENDS="bison flex glib-dev pkg-config" -WEB_SITE="http://andrewtv.org/libIDL/" -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + ./configure \ + --cache-file=config.cache \ + --build=$HOST_SYSTEM \ + --host=$HOST_SYSTEM && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.