wok view udisks/receipt @ rev 16991

Add mate-polkit and mate-polkit-dev
author Yuri Pourre <yuripourre@gmail.com>
date Sat Aug 09 12:57:36 2014 -0300 (2014-08-09)
parents 7896f0694ef6
children 22f47e58bb56
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks"
4 VERSION="1.0.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
13 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \
14 dbus-helper parted libdevmapper libgio util-linux-mount lsof"
15 BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
17 util-linux-blkid-dev util-linux-uuid-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/udisks \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --disable-static \
29 --disable-remote-access \
30 --disable-gtk-doc-html \
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/etc/polkit-1/localauthority/90-mandatory.d \
39 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
40 cp -a $install/etc/dbus-1 $fs/etc
41 cp -a $install/lib/udev/rules.d $fs/etc/udev
42 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/sbin $fs
45 cp -a $install/usr/lib/udisks $fs/usr/lib
46 cp -a $install/usr/share/*-1 $fs/usr/share
47 #we don't have consolekit and don't want systemd so we need
48 #a rule to give disk group complete access to udisks2
49 #methods without password.
50 cp $stuff/org.freedesktop.udisks.pkla \
51 $fs/etc/polkit-1/localauthority/90-mandatory.d
52 }