wok-next view polkit/receipt @ rev 7921
Add polkit. It replaces PolicyKit and PolicyKit0. No need to add a PROVIDES since only GConf depends on them.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 20:57:58 2011 +0000 (2011-01-09) |
parents | |
children | 4bfc5c1bf9bb |
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit"
4 VERSION="0.99"
5 CATEGORY="system"
6 SHORT_DESC="Application development toolkit for controlling system-wide privileges."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base glib libgio dbus dbus-glib expat pam"
9 BUILD_DEPENDS="glib-dev libgio-dev dbus-dev dbus-glib-dev expat-dev pam-dev pkg-config intltool gobject-introspection-dev "
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --libexecdir=/usr/lib/polkit-1 \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
37 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
38 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
39 cp -a $_pkg/var $fs
40 }