wok-current view polkit/receipt @ rev 9737
slim: fix DESTDIR is needed and build deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 00:34:33 2011 +0200 (2011-05-10) |
parents | 330615e1ecdb |
children | 16365fa80d34 |
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 DEPENDS="glibc-base glib libgio dbus dbus-glib expat pam"
9 BUILD_DEPENDS="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 --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 }