wok view polkit-pam/receipt @ rev 12800
add libdrm-nouveau
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 11:44:17 2012 +0200 (2012-05-18) |
parents | |
children | 36a438c097dc |
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit-pam"
4 VERSION="0.104"
5 CATEGORY="base-system"
6 SHORT_DESC="Polkit with PAM support."
7 MAINTAINER="slaxemulator@gmail.com"
8 SOURCE="polkit"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
12 PROVIDES="polkit"
14 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam"
15 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
16 dbus-glib-dev expat-dev pam-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --libexecdir=/usr/lib/polkit-1 \
27 --disable-man-pages \
28 --disable-gtk-doc \
29 --with-authfw=pam \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/etc $fs
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/polkit-1 $fs/usr/lib
42 rm $fs/usr/lib/polkit-1/extensions/*.*a
43 cp -a $install/usr/share/dbus-1 $fs/usr/share
44 cp -a $install/usr/share/polkit-1 $fs/usr/share
45 cp -a $install/var $fs
46 }