wok view udisks2/receipt @ rev 22307
updated xrdp and xrdp-dev (0.9.3.1 -> 0.9.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 08:51:10 2019 +0100 (2019-11-14) |
parents | 52fc64fb8fee |
children | 5d79829fa876 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks2"
4 VERSION="2.1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
10 TARBALL="udisks-$VERSION.tar.bz2"
11 WGET_URL="https://udisks.freedesktop.org/releases/$TARBALL"
13 DEPENDS="libatasmart libgudev polkit"
14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev polkit-dev libatasmart-dev \
15 gobject-introspection-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --enable-fhs-media \
24 --with-udevdir=/etc/udev \
25 --with-systemdsystemunitdir=no \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders etc bin sbin libexec dbus-1 polkit-1 var
34 cook_copy_files *.so*
36 sed '/lang=/d' -i \
37 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
39 # Please, note:
40 # Package: slitaz-configs-base
41 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
42 # Provides: complete access to udisks2 methods
44 # mount to "/media" instead of "/media/<user>"
45 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
46 }