wok-next view udisks2-kitless/receipt @ rev 20554
Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 16:49:09 2018 +0300 (2018-04-06) |
parents | 4a8ed40e1cbf |
children | 10df65db91ad |
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 make &&
24 make install
25 }
27 genpkg_rules() {
28 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
30 sed '/lang=/d' -i \
31 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
33 # Please, note:
34 # Package: slitaz-configs-base
35 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
36 # Provides: complete access to udisks2 methods
38 # mount to "/media" instead of "/media/<user>"
39 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
40 DEPENDS="libatasmart libgudev"
41 }