# HG changeset patch # User Christophe Lincoln # Date 1306168296 -7200 # Node ID 9aaf5b54d2a9ab95e6aed43602228e3d868fc95d # Parent cf0bb35f3330a8e91a652d7267abebe60fbecb2b gamin: can't cross (use native) diff -r cf0bb35f3330 -r 9aaf5b54d2a9 gamin/receipt --- a/gamin/receipt Mon May 23 18:26:10 2011 +0200 +++ b/gamin/receipt Mon May 23 18:31:36 2011 +0200 @@ -5,11 +5,13 @@ CATEGORY="system-tools" SHORT_DESC="File and directory monitoring system." MAINTAINER="pankso@slitaz.org" -DEPENDS="glib" -BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnome.org/~veillard/gamin/" WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" +CROSS="error: cannot run test program while cross compiling" + +DEPENDS="glib" +BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" # Rules to configure and make the package. compile_rules() @@ -19,12 +21,11 @@ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/gamin \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + --build=$HOST_SYSTEM \ + --host=$HOST_SYSTEM && make && - mkdir -p $PWD/_pkg/usr/include && - make -j1 DESTDIR=$PWD/_pkg install + mkdir -p $DESTDIR/usr/include && + make -j1 DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg.