wok-stable rev 4022
Fix: PolicyKit FSH --localstatedir=/var and genpkg_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 04 12:12:41 2009 +0200 (2009-09-04) |
parents | af9d0eb512b0 |
children | 80fe32e8e9d5 |
files | PolicyKit/receipt |
line diff
1.1 --- a/PolicyKit/receipt Fri Sep 04 10:25:14 2009 +0200 1.2 +++ b/PolicyKit/receipt Fri Sep 04 12:12:41 2009 +0200 1.3 @@ -16,7 +16,7 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - 1.8 + 1.9 # autogen.sh forces some unnecessary options; remove them 1.10 sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 1.11 sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 1.12 @@ -29,10 +29,10 @@ 1.13 sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1 1.14 sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1 1.15 rm -r -f $src/docs 1.16 - 1.17 + 1.18 ./autogen.sh --prefix=/usr \ 1.19 - --enable-gtk-doc=no \ 1.20 --sysconfdir=/etc \ 1.21 + --localstatedir=/var \ 1.22 --libexecdir=/usr/lib/PolicyKit \ 1.23 $CONFIGURE_ARGS && 1.24 make && 1.25 @@ -42,16 +42,16 @@ 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 - mkdir -p $fs/usr 1.30 + mkdir -p $fs/usr/lib 1.31 cp -a $_pkg/usr/bin $fs/usr 1.32 - cp -a $_pkg/usr/etc $fs/usr 1.33 - cp -a $_pkg/usr/libexec $fs/usr 1.34 - cp -a $_pkg/usr/var $fs 1.35 - 1.36 + cp -a $_pkg/usr/lib/PolicyKit $fs/usr/lib 1.37 + cp -a $_pkg/etc $fs 1.38 + cp -a $_pkg/var $fs 1.39 + 1.40 mkdir -p $fs/usr/share 1.41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 1.42 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share 1.43 - 1.44 + 1.45 mkdir -p $fs/usr/lib/polkit-1/extensions 1.46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.47 cp -a $_pkg/usr/lib/polkit-1/extensions/*.so* $fs/usr/lib/polkit-1/extensions