wok-current view polkit/receipt @ rev 13241
Move from undigest: qemacs-x11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:20 2012 +0200 (2012-08-14) |
parents | d1d138d47cc2 |
children | a00bf44ed23d |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
10 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
11 CROSS="error: cannot check for file existence when cross compiling"
13 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat"
14 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
15 dbus-glib-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --libexecdir=/usr/lib/polkit-1 \
26 --disable-man-pages \
27 --disable-gtk-doc \
28 --with-authfw=shadow \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/polkit-1 $fs/usr/lib
41 rm $fs/usr/lib/polkit-1/extensions/*.*a
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
43 cp -a $install/usr/share/polkit-1 $fs/usr/share
44 cp -a $install/var $fs
45 }