wok annotate PolicyKit/receipt @ rev 6485
audacious-plugins: break a dependency loop
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Sep 30 21:14:47 2010 +0200 (2010-09-30) |
parents | 90e4b13db8f4 |
children |
rev | line source |
---|---|
rcx@3336 | 1 # SliTaz package receipt. |
rcx@3336 | 2 |
rcx@3336 | 3 PACKAGE="PolicyKit" |
rcx@6003 | 4 VERSION="0.97" |
rcx@3336 | 5 CATEGORY="system-tools" |
pankso@4093 | 6 SHORT_DESC="Application development toolkit for controlling system-wide privileges." |
rcx@3336 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3336 | 8 DEPENDS="glibc-base glib libgio dbus dbus-glib eggdbus expat pam" |
rcx@3336 | 9 BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev intltool \ |
rcx@3336 | 10 libxslt-dev expat-dev pam-dev pam gettext eggdbus eggdbus-dev dbus-dev dbus-glib-dev" |
rcx@3336 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3336 | 12 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit/" |
rcx@3336 | 13 WGET_URL="http://cgit.freedesktop.org/$PACKAGE/snapshot/$TARBALL" |
rcx@3336 | 14 |
rcx@3336 | 15 # Rules to configure and make the package. |
rcx@3336 | 16 compile_rules() |
rcx@3336 | 17 { |
rcx@3336 | 18 cd $src |
pankso@4022 | 19 |
rcx@6013 | 20 # autogen.sh forces some unnecessary options, so remove them |
rcx@3336 | 21 sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1 |
rcx@3336 | 22 sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1 |
rcx@3336 | 23 sed -i 's/--enable-maintainer-mode//' $src/autogen.sh || exit 1 |
rcx@3336 | 24 sed -i 's/ docs / /' $src/Makefile.am || exit 1 |
rcx@3336 | 25 sed -i 's|docs/version.xml||' $src/configure.ac || exit 1 |
rcx@3336 | 26 sed -i 's|docs/extensiondir.xml||' $src/configure.ac || exit 1 |
rcx@3336 | 27 sed -i 's|docs/Makefile||' $src/configure.ac || exit 1 |
rcx@3336 | 28 sed -i 's|docs/polkit/Makefile||' $src/configure.ac || exit 1 |
rcx@3336 | 29 sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1 |
rcx@3336 | 30 sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1 |
rcx@3336 | 31 rm -r -f $src/docs |
pankso@4022 | 32 |
pankso@4093 | 33 ./autogen.sh \ |
pankso@4093 | 34 --prefix=/usr \ |
pascal@4021 | 35 --sysconfdir=/etc \ |
pankso@4022 | 36 --localstatedir=/var \ |
pascal@4021 | 37 --libexecdir=/usr/lib/PolicyKit \ |
pascal@6032 | 38 --disable-introspection \ |
rcx@3336 | 39 $CONFIGURE_ARGS && |
rcx@3336 | 40 make && |
rcx@3336 | 41 make DESTDIR=$src/_pkg install |
rcx@3336 | 42 } |
rcx@3336 | 43 |
rcx@3336 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3336 | 45 genpkg_rules() |
rcx@3336 | 46 { |
pankso@4022 | 47 mkdir -p $fs/usr/lib |
rcx@3336 | 48 cp -a $_pkg/usr/bin $fs/usr |
pankso@4022 | 49 cp -a $_pkg/usr/lib/PolicyKit $fs/usr/lib |
pankso@4022 | 50 cp -a $_pkg/etc $fs |
pankso@4022 | 51 cp -a $_pkg/var $fs |
pankso@4022 | 52 |
rcx@3336 | 53 mkdir -p $fs/usr/share |
rcx@3336 | 54 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
rcx@3336 | 55 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share |
pankso@4022 | 56 |
rcx@3336 | 57 mkdir -p $fs/usr/lib/polkit-1/extensions |
rcx@3336 | 58 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3336 | 59 cp -a $_pkg/usr/lib/polkit-1/extensions/*.so* $fs/usr/lib/polkit-1/extensions |
rcx@3336 | 60 } |