wok-6.x diff polkit/receipt @ rev 12820

glibc-base: improve receipt for ARM and cross-compilation
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 21 23:48:44 2012 +0200 (2012-05-21)
parents d1d138d47cc2
children a00bf44ed23d
line diff
     1.1 --- a/polkit/receipt	Sat Dec 10 05:13:50 2011 +0100
     1.2 +++ b/polkit/receipt	Mon May 21 23:48:44 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="polkit"
     1.7 -VERSION="0.103"
     1.8 +VERSION="0.104"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Application development toolkit for controlling system-wide privileges."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -10,9 +10,9 @@
    1.13  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    1.14  CROSS="error: cannot check for file existence when cross compiling"
    1.15  
    1.16 -DEPENDS="glib libgio dbus dbus-glib expat pam"
    1.17 -BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev \
    1.18 -intltool"
    1.19 +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat"
    1.20 +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
    1.21 +dbus-glib-dev expat-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -25,8 +25,8 @@
    1.26  		--libexecdir=/usr/lib/polkit-1 \
    1.27  		--disable-man-pages \
    1.28  		--disable-gtk-doc \
    1.29 -		--build=$HOST_SYSTEM \
    1.30 -		--host=$HOST_SYSTEM &&
    1.31 +		--with-authfw=shadow \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make && make install
    1.34  }
    1.35  
    1.36 @@ -34,12 +34,12 @@
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr/lib $fs/usr/share
    1.40 -	cp -a $_pkg/usr/bin $fs/usr
    1.41 -	cp -a $_pkg/etc $fs
    1.42 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 -	cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.45 -	cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    1.46 -	cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
    1.47 -	cp -a $_pkg/var $fs
    1.48 +	cp -a $install/usr/bin $fs/usr
    1.49 +	cp -a $install/etc $fs
    1.50 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 +	cp -a $install/usr/lib/polkit-1 $fs/usr/lib
    1.52 +	rm $fs/usr/lib/polkit-1/extensions/*.*a
    1.53 +	cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.54 +	cp -a $install/usr/share/polkit-1 $fs/usr/share
    1.55 +	cp -a $install/var $fs
    1.56  }