wok view polkit/receipt @ rev 10374
rox-filer: fix stuff parh
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 12:27:42 2011 +0200 (2011-05-23) |
parents | 65d249223836 |
children | cf0bb35f3330 |
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"
12 DEPENDS="glib libgio dbus dbus-glib expat pam"
13 BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --libexecdir=/usr/lib/polkit-1 \
24 --disable-man-pages \
25 --disable-gtk-doc \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/etc $fs
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib
38 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
40 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share
41 cp -a $_pkg/var $fs
42 }