wok-current view polkit-pam/receipt @ rev 19537
Up firefox-official (50.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 01 21:07:54 2016 +0200 (2016-12-01) |
parents | 36a438c097dc |
children | 241fb98cab1c |
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 LICENSE="LGPL2"
9 SOURCE="polkit"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
13 PROVIDE="polkit"
15 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam"
16 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
17 dbus-glib-dev expat-dev pam-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --libexecdir=/usr/lib/polkit-1 \
28 --disable-man-pages \
29 --disable-gtk-doc \
30 --with-authfw=pam \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/etc $fs
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/polkit-1 $fs/usr/lib
43 rm $fs/usr/lib/polkit-1/extensions/*.*a
44 cp -a $install/usr/share/dbus-1 $fs/usr/share
45 cp -a $install/usr/share/polkit-1 $fs/usr/share
46 cp -a $install/var $fs
47 }