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