wok-6.x diff PolicyKit/receipt @ rev 3357
Up: dosbox (0.73) and remove dep on libiconv
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 19:51:49 2009 +0200 (2009-06-11) |
parents | |
children | f06c8507c4c3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/PolicyKit/receipt Thu Jun 11 19:51:49 2009 +0200 1.3 @@ -0,0 +1,56 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="PolicyKit" 1.7 +VERSION="0.92" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base glib libgio dbus dbus-glib eggdbus expat pam" 1.12 +BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \ 1.13 +libxslt-dev expat-dev pam-dev pam gettext eggdbus eggdbus-dev dbus-dev dbus-glib-dev" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/" 1.16 +WGET_URL="http://cgit.freedesktop.org/$PACKAGE/snapshot/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + 1.23 + # autogen.sh forces some unnecessary options; remove them 1.24 + sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 1.25 + sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 1.26 + sed -i 's/--enable-maintainer-mode//' $src/autogen.sh || exit 1 1.27 + sed -i 's/ docs / /' $src/Makefile.am || exit 1 1.28 + sed -i 's|docs/version.xml||' $src/configure.ac || exit 1 1.29 + sed -i 's|docs/extensiondir.xml||' $src/configure.ac || exit 1 1.30 + sed -i 's|docs/Makefile||' $src/configure.ac || exit 1 1.31 + sed -i 's|docs/polkit/Makefile||' $src/configure.ac || exit 1 1.32 + sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1 1.33 + sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1 1.34 + rm -r -f $src/docs 1.35 + 1.36 + ./autogen.sh --prefix=/usr \ 1.37 + --enable-gtk-doc=no \ 1.38 + $CONFIGURE_ARGS && 1.39 + make && 1.40 + make DESTDIR=$src/_pkg install 1.41 +} 1.42 + 1.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 +genpkg_rules() 1.45 +{ 1.46 + mkdir -p $fs/usr 1.47 + cp -a $_pkg/usr/bin $fs/usr 1.48 + cp -a $_pkg/usr/etc $fs/usr 1.49 + cp -a $_pkg/usr/libexec $fs/usr 1.50 + cp -a $_pkg/usr/var $fs/usr 1.51 + 1.52 + mkdir -p $fs/usr/share 1.53 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 1.54 + cp -a $_pkg/usr/share/polkit-1 $fs/usr/share 1.55 + 1.56 + mkdir -p $fs/usr/lib/polkit-1/extensions 1.57 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.58 + cp -a $_pkg/usr/lib/polkit-1/extensions/*.so* $fs/usr/lib/polkit-1/extensions 1.59 +}