wok rev 3336
Add: PolicyKit, version series 0.9x
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jun 10 15:51:00 2009 +0000 (2009-06-10) |
parents | dbc53df81ef3 |
children | 6842cfbcc0ca |
files | PolicyKit-dev/receipt PolicyKit/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/PolicyKit-dev/receipt Wed Jun 10 15:51:00 2009 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="PolicyKit-dev" 1.7 +VERSION="0.92" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="PolicyKit devel files." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="" 1.13 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/" 1.14 +WANTED="PolicyKit" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib/polkit-1/extensions 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/polkit-1/extensions/*.*a $fs/usr/lib/polkit-1/extensions 1.22 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $_pkg/usr/include $fs/usr 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/PolicyKit/receipt Wed Jun 10 15:51:00 2009 +0000 2.3 @@ -0,0 +1,56 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="PolicyKit" 2.7 +VERSION="0.92" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base glib libgio dbus dbus-glib eggdbus expat pam" 2.12 +BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \ 2.13 +libxslt-dev expat-dev pam-dev pam gettext eggdbus eggdbus-dev dbus-dev dbus-glib-dev" 2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.15 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/" 2.16 +WGET_URL="http://cgit.freedesktop.org/$PACKAGE/snapshot/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + 2.23 + # autogen.sh forces some unnecessary options; remove them 2.24 + sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 2.25 + sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 2.26 + sed -i 's/--enable-maintainer-mode//' $src/autogen.sh || exit 1 2.27 + sed -i 's/ docs / /' $src/Makefile.am || exit 1 2.28 + sed -i 's|docs/version.xml||' $src/configure.ac || exit 1 2.29 + sed -i 's|docs/extensiondir.xml||' $src/configure.ac || exit 1 2.30 + sed -i 's|docs/Makefile||' $src/configure.ac || exit 1 2.31 + sed -i 's|docs/polkit/Makefile||' $src/configure.ac || exit 1 2.32 + sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1 2.33 + sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1 2.34 + rm -r -f $src/docs 2.35 + 2.36 + ./autogen.sh --prefix=/usr \ 2.37 + --enable-gtk-doc=no \ 2.38 + $CONFIGURE_ARGS && 2.39 + make && 2.40 + make DESTDIR=$src/_pkg install 2.41 +} 2.42 + 2.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.44 +genpkg_rules() 2.45 +{ 2.46 + mkdir -p $fs/usr 2.47 + cp -a $_pkg/usr/bin $fs/usr 2.48 + cp -a $_pkg/usr/etc $fs/usr 2.49 + cp -a $_pkg/usr/libexec $fs/usr 2.50 + cp -a $_pkg/usr/var $fs/usr 2.51 + 2.52 + mkdir -p $fs/usr/share 2.53 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 2.54 + cp -a $_pkg/usr/share/polkit-1 $fs/usr/share 2.55 + 2.56 + mkdir -p $fs/usr/lib/polkit-1/extensions 2.57 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.58 + cp -a $_pkg/usr/lib/polkit-1/extensions/*.so* $fs/usr/lib/polkit-1/extensions 2.59 +}