wok view udisks2/receipt @ rev 19536

Up: docbook-xsl (1.79.1): conversion xml->man now works; udisks2 (2.1.8): now it auto-unmount and free /media/* folders before reboot/shutdown.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 01 04:42:13 2016 +0200 (2016-12-01)
parents f517baa7c91e
children 074f8db95176
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 # Please, note:
37 # Package: slitaz-configs-base
38 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
39 # Provides: complete access to udisks2 methods
41 # mount to "/media" instead of "/media/<user>"
42 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
43 }