wok-next view udisks2/receipt @ rev 19872

Up palemoon (27.5.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Sep 27 20:45:12 2017 +0200 (2017-09-27)
parents 0c247ee1a841
children 0a667524ce79
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 intltool"
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 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
35 sed '/lang=/d' -i \
36 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
38 # Please, note:
39 # Package: slitaz-configs-base
40 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
41 # Provides: complete access to udisks2 methods
43 # mount to "/media" instead of "/media/<user>"
44 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
45 }