wok-6.x rev 12473

Up: polkit (0.104) Dont build with pam by default (use polkit-pam)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 12:54:00 2012 +0200 (2012-04-23)
parents b40b085ea0d4
children b3dc4f05cd0f
files polkit-dev/receipt polkit-pam/receipt polkit/receipt
line diff
     1.1 --- a/polkit-dev/receipt	Mon Apr 23 12:52:27 2012 +0200
     1.2 +++ b/polkit-dev/receipt	Mon Apr 23 12:54:00 2012 +0200
     1.3 @@ -1,11 +1,10 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="polkit-dev"
     1.7 -VERSION="0.103"
     1.8 +VERSION="0.104"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="devel files for polkit"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 -DEPENDS="polkit"
    1.13  WANTED="polkit"
    1.14  WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
    1.15  PROVIDES="PolicyKit-dev"
    1.16 @@ -13,9 +12,13 @@
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.21 -	cp -a $_pkg/usr/include $fs/usr
    1.22 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.23 -	cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.24 +	mkdir -p $fs/usr/lib/polkit-1/extensions $fs/usr/share
    1.25 +	cp -a $install/usr/include $fs/usr
    1.26 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.28 +	cp -a $install/usr/share/gir-1.0 $fs/usr/share
    1.29 +	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.30 +	cp -a $install/usr/lib/polkit-1/extensions/*.*a \
    1.31 +		$fs/usr/lib/polkit-1/extensions
    1.32  }
    1.33  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/polkit-pam/receipt	Mon Apr 23 12:54:00 2012 +0200
     2.3 @@ -0,0 +1,46 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="polkit-pam"
     2.7 +VERSION="0.104"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="Polkit with PAM support."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +SOURCE="polkit"
    2.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
    2.14 +WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    2.15 +PROVIDES="polkit"
    2.16 +
    2.17 +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam"
    2.18 +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
    2.19 +dbus-glib-dev expat-dev pam-dev"
    2.20 +
    2.21 +# Rules to configure and make the package.
    2.22 +compile_rules()
    2.23 +{
    2.24 +	cd $src
    2.25 +	./configure \
    2.26 +		--prefix=/usr \
    2.27 +		--sysconfdir=/etc \
    2.28 +		--localstatedir=/var \
    2.29 +		--libexecdir=/usr/lib/polkit-1 \
    2.30 +		--disable-man-pages \
    2.31 +		--disable-gtk-doc \
    2.32 +		--with-authfw=pam \
    2.33 +		$CONFIGURE_ARGS &&
    2.34 +	make && make install
    2.35 +}
    2.36 +
    2.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 +genpkg_rules()
    2.39 +{
    2.40 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.41 +	cp -a $install/usr/bin $fs/usr
    2.42 +	cp -a $install/etc $fs
    2.43 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.44 +	cp -a $install/usr/lib/polkit-1 $fs/usr/lib
    2.45 +	rm $fs/usr/lib/polkit-1/extensions/*.*a
    2.46 +	cp -a $install/usr/share/dbus-1 $fs/usr/share
    2.47 +	cp -a $install/usr/share/polkit-1 $fs/usr/share
    2.48 +	cp -a $install/var $fs
    2.49 +}
     3.1 --- a/polkit/receipt	Mon Apr 23 12:52:27 2012 +0200
     3.2 +++ b/polkit/receipt	Mon Apr 23 12:54:00 2012 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="polkit"
     3.7 -VERSION="0.103"
     3.8 +VERSION="0.104"
     3.9  CATEGORY="base-system"
    3.10  SHORT_DESC="Application development toolkit for controlling system-wide privileges."
    3.11  MAINTAINER="slaxemulator@gmail.com"
    3.12 @@ -10,9 +10,9 @@
    3.13  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    3.14  CROSS="error: cannot check for file existence when cross compiling"
    3.15  
    3.16 -DEPENDS="glib libgio dbus dbus-glib expat pam"
    3.17 -BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev \
    3.18 -intltool"
    3.19 +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat"
    3.20 +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
    3.21 +dbus-glib-dev expat-dev"
    3.22  
    3.23  # Rules to configure and make the package.
    3.24  compile_rules()
    3.25 @@ -25,8 +25,8 @@
    3.26  		--libexecdir=/usr/lib/polkit-1 \
    3.27  		--disable-man-pages \
    3.28  		--disable-gtk-doc \
    3.29 -		--build=$HOST_SYSTEM \
    3.30 -		--host=$HOST_SYSTEM &&
    3.31 +		--with-authfw=shadow \
    3.32 +		$CONFIGURE_ARGS &&
    3.33  	make && make install
    3.34  }
    3.35  
    3.36 @@ -34,12 +34,12 @@
    3.37  genpkg_rules()
    3.38  {
    3.39  	mkdir -p $fs/usr/lib $fs/usr/share
    3.40 -	cp -a $_pkg/usr/bin $fs/usr
    3.41 -	cp -a $_pkg/etc $fs
    3.42 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.43 -	cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
    3.44 -	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    3.45 -	cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    3.46 -	cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
    3.47 -	cp -a $_pkg/var $fs
    3.48 +	cp -a $install/usr/bin $fs/usr
    3.49 +	cp -a $install/etc $fs
    3.50 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.51 +	cp -a $install/usr/lib/polkit-1 $fs/usr/lib
    3.52 +	rm $fs/usr/lib/polkit-1/extensions/*.*a
    3.53 +	cp -a $install/usr/share/dbus-1 $fs/usr/share
    3.54 +	cp -a $install/usr/share/polkit-1 $fs/usr/share
    3.55 +	cp -a $install/var $fs
    3.56  }