wok-current view polkit/receipt @ rev 11458

lxdm: add intltootl to depends; put depends to gtk+
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
parents 0e5a7df3d92f
children 3c2bd4920bdb
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit"
4 VERSION="0.103"
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 \
15 intltool"
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 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM &&
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 $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
41 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
42 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
43 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
44 cp -a $_pkg/var $fs
45 }