wok-next view polkit-pam/receipt @ rev 13258
fail2ban: add apache-noscript & apache-proxy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 17 14:50:02 2012 +0200 (2012-08-17) |
parents | 3c2bd4920bdb |
children | a00bf44ed23d |
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 PROVIDE="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 }