wok rev 10387
polkit: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:26:10 2011 +0200 (2011-05-23) |
parents | 269cebcd4f1f |
children | 9aaf5b54d2a9 |
files | polkit/receipt |
line diff
1.1 --- a/polkit/receipt Mon May 23 18:21:15 2011 +0200 1.2 +++ b/polkit/receipt Mon May 23 18:26:10 2011 +0200 1.3 @@ -8,6 +8,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" 1.6 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" 1.7 +CROSS="error: cannot check for file existence when cross compiling" 1.8 1.9 DEPENDS="glib libgio dbus dbus-glib expat pam" 1.10 BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev" 1.11 @@ -23,8 +24,9 @@ 1.12 --libexecdir=/usr/lib/polkit-1 \ 1.13 --disable-man-pages \ 1.14 --disable-gtk-doc \ 1.15 - $CONFIGURE_ARGS && 1.16 - make && make DESTDIR=$PWD/_pkg install 1.17 + --build=$HOST_SYSTEM \ 1.18 + --host=$HOST_SYSTEM && 1.19 + make && make install 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 @@ -40,4 +42,3 @@ 1.24 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share 1.25 cp -a $_pkg/var $fs 1.26 } 1.27 -