wok diff PolicyKit0/receipt @ 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 f06c8507c4c3
children ff70032e9ce9
line diff
     1.1 --- a/PolicyKit0/receipt	Tue Jun 23 09:07:24 2009 +0000
     1.2 +++ b/PolicyKit0/receipt	Thu Sep 17 14:43:51 2009 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  SOURCE="POLICY_KIT"
     1.5  VERSION="0_9"
     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 dbus dbus-glib expat"
    1.11  BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \
    1.12 @@ -18,7 +18,7 @@
    1.13  {
    1.14  	mv ${SOURCE}_${VERSION} $SOURCE-$VERSION
    1.15  	cd $src
    1.16 -	
    1.17 +
    1.18  	# autogen.sh forces some unnecessary options; remove them
    1.19  	sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1
    1.20  	sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1
    1.21 @@ -29,9 +29,12 @@
    1.22  	sed -i 's|doc/man/Makefile||' $src/configure.in || exit 1
    1.23  	sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.in || exit 1
    1.24  	rm -r -f $src/docs
    1.25 -		
    1.26 -    ./autogen.sh --prefix=/usr \
    1.27 -		--enable-gtk-doc=no \
    1.28 +
    1.29 +    ./autogen.sh \
    1.30 +    	--prefix=/usr \
    1.31 +		--sysconfdir=/etc \
    1.32 +		--localstatedir=/var \
    1.33 +		--libexecdir=/usr/lib/PolicyKit0 \
    1.34  		$CONFIGURE_ARGS  &&
    1.35      make &&
    1.36      make DESTDIR=$src/_pkg install
    1.37 @@ -42,11 +45,11 @@
    1.38  {
    1.39  	mkdir -p  $fs/usr/lib
    1.40  	cp -a $_pkg/usr/bin $fs/usr
    1.41 -	cp -a $_pkg/usr/etc $fs/usr
    1.42 +	cp -a $_pkg/etc $fs
    1.43  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/libexec $fs/usr
    1.45 -	cp -a $_pkg/usr/var $fs
    1.46 -	
    1.47 +	cp -a $_pkg/usr/lib/PolicyKit0 $fs/usr
    1.48 +	cp -a $_pkg/var $fs
    1.49 +
    1.50  	mkdir -p $fs/usr/share
    1.51  	cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    1.52  	cp -a $_pkg/usr/share/PolicyKit $fs/usr/share