wok rev 4093

Fix: PolicyKit0 FSH path
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 17 14:43:51 2009 +0200 (2009-09-17)
parents c06f0663b4ae
children dc5d15ed9adc
files PolicyKit/receipt PolicyKit0/receipt
line diff
     1.1 --- a/PolicyKit/receipt	Thu Sep 17 14:32:32 2009 +0200
     1.2 +++ b/PolicyKit/receipt	Thu Sep 17 14:43:51 2009 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="PolicyKit"
     1.5  VERSION="0.92"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
     1.8 +SHORT_DESC="Application development toolkit for controlling system-wide privileges."
     1.9  MAINTAINER="rcx@zoominternet.net"
    1.10  DEPENDS="glibc-base glib libgio dbus dbus-glib eggdbus expat pam"
    1.11  BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \
    1.12 @@ -30,7 +30,8 @@
    1.13  	sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1
    1.14  	rm -r -f $src/docs
    1.15  
    1.16 -    ./autogen.sh --prefix=/usr \
    1.17 +    ./autogen.sh \
    1.18 +    	--prefix=/usr \
    1.19  		--sysconfdir=/etc \
    1.20  		--localstatedir=/var \
    1.21  		--libexecdir=/usr/lib/PolicyKit \
     2.1 --- a/PolicyKit0/receipt	Thu Sep 17 14:32:32 2009 +0200
     2.2 +++ b/PolicyKit0/receipt	Thu Sep 17 14:43:51 2009 +0200
     2.3 @@ -4,7 +4,7 @@
     2.4  SOURCE="POLICY_KIT"
     2.5  VERSION="0_9"
     2.6  CATEGORY="system-tools"
     2.7 -SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
     2.8 +SHORT_DESC="Application development toolkit for controlling system-wide privileges."
     2.9  MAINTAINER="rcx@zoominternet.net"
    2.10  DEPENDS="glibc-base glib dbus dbus-glib expat"
    2.11  BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \
    2.12 @@ -18,7 +18,7 @@
    2.13  {
    2.14  	mv ${SOURCE}_${VERSION} $SOURCE-$VERSION
    2.15  	cd $src
    2.16 -	
    2.17 +
    2.18  	# autogen.sh forces some unnecessary options; remove them
    2.19  	sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1
    2.20  	sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1
    2.21 @@ -29,9 +29,12 @@
    2.22  	sed -i 's|doc/man/Makefile||' $src/configure.in || exit 1
    2.23  	sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.in || exit 1
    2.24  	rm -r -f $src/docs
    2.25 -		
    2.26 -    ./autogen.sh --prefix=/usr \
    2.27 -		--enable-gtk-doc=no \
    2.28 +
    2.29 +    ./autogen.sh \
    2.30 +    	--prefix=/usr \
    2.31 +		--sysconfdir=/etc \
    2.32 +		--localstatedir=/var \
    2.33 +		--libexecdir=/usr/lib/PolicyKit0 \
    2.34  		$CONFIGURE_ARGS  &&
    2.35      make &&
    2.36      make DESTDIR=$src/_pkg install
    2.37 @@ -42,11 +45,11 @@
    2.38  {
    2.39  	mkdir -p  $fs/usr/lib
    2.40  	cp -a $_pkg/usr/bin $fs/usr
    2.41 -	cp -a $_pkg/usr/etc $fs/usr
    2.42 +	cp -a $_pkg/etc $fs
    2.43  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.44 -	cp -a $_pkg/usr/libexec $fs/usr
    2.45 -	cp -a $_pkg/usr/var $fs
    2.46 -	
    2.47 +	cp -a $_pkg/usr/lib/PolicyKit0 $fs/usr
    2.48 +	cp -a $_pkg/var $fs
    2.49 +
    2.50  	mkdir -p $fs/usr/share
    2.51  	cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    2.52  	cp -a $_pkg/usr/share/PolicyKit $fs/usr/share