wok diff PolicyKit0/receipt @ rev 3543
Add axel tools
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 11:52:01 2009 +0800 (2009-06-23) |
parents | |
children | f06c8507c4c3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/PolicyKit0/receipt Tue Jun 23 11:52:01 2009 +0800 1.3 @@ -0,0 +1,53 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="PolicyKit0" 1.7 +SOURCE="POLICY_KIT" 1.8 +VERSION="0_9" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="An application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes." 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +DEPENDS="glibc-base glib dbus dbus-glib expat" 1.13 +BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \ 1.14 +dbus-dev dbus-glib-dev expat-dev gettext pam-dev pam" 1.15 +TARBALL="${SOURCE}_${VERSION}.tar.bz2" 1.16 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/" 1.17 +WGET_URL="http://cgit.freedesktop.org/PolicyKit/snapshot/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mv ${SOURCE}_${VERSION} $SOURCE-$VERSION 1.23 + cd $src 1.24 + 1.25 + # autogen.sh forces some unnecessary options; remove them 1.26 + sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 1.27 + sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 1.28 + sed -i 's/--enable-maintainer-mode//' $src/autogen.sh || exit 1 1.29 + sed -i 's/ doc / /' $src/Makefile.am || exit 1 1.30 + sed -i 's|doc/Makefile||' $src/configure.in || exit 1 1.31 + sed -i 's|doc/version.xml||' $src/configure.in || exit 1 1.32 + sed -i 's|doc/man/Makefile||' $src/configure.in || exit 1 1.33 + sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.in || 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/lib 1.47 + cp -a $_pkg/usr/bin $fs/usr 1.48 + cp -a $_pkg/usr/etc $fs/usr 1.49 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.50 + cp -a $_pkg/usr/libexec $fs/usr 1.51 + cp -a $_pkg/usr/var $fs/usr 1.52 + 1.53 + mkdir -p $fs/usr/share 1.54 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 1.55 + cp -a $_pkg/usr/share/PolicyKit $fs/usr/share 1.56 +}