wok view polkit/receipt @ rev 10722

usbutils: fix usb.ids path (see BUGS in receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 00:27:29 2011 +0200 (2011-05-29)
parents 16365fa80d34
children 0e5a7df3d92f
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit"
4 VERSION="0.101"
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 dbus dbus-glib expat pam"
14 BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --libexecdir=/usr/lib/polkit-1 \
25 --disable-man-pages \
26 --disable-gtk-doc \
27 --build=$HOST_SYSTEM \
28 --host=$HOST_SYSTEM &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
40 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
42 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
43 cp -a $_pkg/var $fs
44 }