wok-next view udisks2-kitless/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 757d032c55c7
children
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}"
14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \
15 gobject-introspection-dev intltool"
17 compile_rules() {
18 ./configure \
19 --enable-fhs-media \
20 --with-udevdir=/etc/udev \
21 --with-systemdsystemunitdir=no \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
31 sed '/lang=/d' -i \
32 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
34 # Please, note:
35 # Package: slitaz-configs-base
36 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
37 # Provides: complete access to udisks2 methods
39 # mount to "/media" instead of "/media/<user>"
40 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
41 DEPENDS="libatasmart libgudev"
42 }