wok-current view polkit/receipt @ rev 22540

updated bison (2.6.5 -> 3.5)
author Hans-G?nter Theisgen
date Fri Jan 03 16:33:16 2020 +0100 (2020-01-03)
parents 5dd63acec41c
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="polkit"
4 VERSION="0.104"
5 CATEGORY="base-system"
6 SHORT_DESC="Application development toolkit for controlling system-wide privileges."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit"
11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
12 CROSS="error: cannot check for file existence when cross compiling"
14 DEPENDS="glib libgio dbus dbus-glib expat util-linux-eject"
15 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
16 dbus-glib-dev expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --libexecdir=/usr/lib/polkit-1 \
26 --disable-man-pages \
27 --disable-gtk-doc \
28 --with-authfw=shadow \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/polkit-1 $fs/usr/lib
41 rm $fs/usr/lib/polkit-1/extensions/*.*a
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
43 cp -a $install/usr/share/polkit-1 $fs/usr/share
44 cp -a $install/var $fs
45 }