wok-next view udisks2-kitless/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | ea1adcca236f |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks2-kitless"
4 VERSION="2.1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/ehegnes/udisks-kitless/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}"
13 DEPENDS="libatasmart libgudev"
14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-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 }