wok annotate polkit/receipt @ rev 17038
linux: enable rtcwake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 18 23:02:42 2014 +0200 (2014-08-18) |
parents | a00bf44ed23d |
children | 2f80fd5d9e35 |
rev | line source |
---|---|
slaxemulator@7921 | 1 # SliTaz package receipt. |
slaxemulator@7921 | 2 |
slaxemulator@7921 | 3 PACKAGE="polkit" |
pankso@12473 | 4 VERSION="0.104" |
slaxemulator@8860 | 5 CATEGORY="base-system" |
slaxemulator@7921 | 6 SHORT_DESC="Application development toolkit for controlling system-wide privileges." |
slaxemulator@7921 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@7921 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7921 | 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" |
slaxemulator@7921 | 11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pankso@10387 | 12 CROSS="error: cannot check for file existence when cross compiling" |
slaxemulator@7921 | 13 |
pankso@16561 | 14 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat \ |
pankso@16561 | 15 util-linux-eject" |
pankso@12473 | 16 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ |
pankso@12473 | 17 dbus-glib-dev expat-dev" |
pankso@9764 | 18 |
slaxemulator@7921 | 19 # Rules to configure and make the package. |
slaxemulator@7921 | 20 compile_rules() |
slaxemulator@7921 | 21 { |
slaxemulator@7922 | 22 ./configure \ |
slaxemulator@7922 | 23 --prefix=/usr \ |
slaxemulator@7921 | 24 --sysconfdir=/etc \ |
slaxemulator@7921 | 25 --localstatedir=/var \ |
slaxemulator@7921 | 26 --libexecdir=/usr/lib/polkit-1 \ |
slaxemulator@7922 | 27 --disable-man-pages \ |
slaxemulator@7922 | 28 --disable-gtk-doc \ |
pankso@12473 | 29 --with-authfw=shadow \ |
pankso@12473 | 30 $CONFIGURE_ARGS && |
pankso@10387 | 31 make && make install |
slaxemulator@7921 | 32 } |
slaxemulator@7921 | 33 |
slaxemulator@7921 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7921 | 35 genpkg_rules() |
slaxemulator@7921 | 36 { |
slaxemulator@7921 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12473 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12473 | 39 cp -a $install/etc $fs |
pankso@12473 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12473 | 41 cp -a $install/usr/lib/polkit-1 $fs/usr/lib |
pankso@12473 | 42 rm $fs/usr/lib/polkit-1/extensions/*.*a |
pankso@12473 | 43 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12473 | 44 cp -a $install/usr/share/polkit-1 $fs/usr/share |
pankso@12473 | 45 cp -a $install/var $fs |
slaxemulator@7921 | 46 } |