wok view polkit-pam/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
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 }