wok rev 10388
gamin: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:31:36 2011 +0200 (2011-05-23) |
parents | cf0bb35f3330 |
children | d1b3ca8f68f4 |
files | gamin/receipt |
line diff
1.1 --- a/gamin/receipt Mon May 23 18:26:10 2011 +0200 1.2 +++ b/gamin/receipt Mon May 23 18:31:36 2011 +0200 1.3 @@ -5,11 +5,13 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="File and directory monitoring system." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="glib" 1.8 -BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.gnome.org/~veillard/gamin/" 1.11 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" 1.12 +CROSS="error: cannot run test program while cross compiling" 1.13 + 1.14 +DEPENDS="glib" 1.15 +BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -19,12 +21,11 @@ 1.20 --prefix=/usr \ 1.21 --sysconfdir=/etc \ 1.22 --libexecdir=/usr/lib/gamin \ 1.23 - --infodir=/usr/share/info \ 1.24 - --mandir=/usr/share/man \ 1.25 - $CONFIGURE_ARGS && 1.26 + --build=$HOST_SYSTEM \ 1.27 + --host=$HOST_SYSTEM && 1.28 make && 1.29 - mkdir -p $PWD/_pkg/usr/include && 1.30 - make -j1 DESTDIR=$PWD/_pkg install 1.31 + mkdir -p $DESTDIR/usr/include && 1.32 + make -j1 DESTDIR=$DESTDIR install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg.