wok-next annotate udisks2-kitless/receipt @ rev 20773

jack2: up (1.9.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 19:59:31 2018 +0300 (2018-06-06)
parents 757d032c55c7
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
psychomaniak@19937 2
psychomaniak@19937 3 PACKAGE="udisks2-kitless"
psychomaniak@19937 4 VERSION="2.1.8"
psychomaniak@19937 5 CATEGORY="system-tools"
psychomaniak@19937 6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
psychomaniak@19939 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19937 8 LICENSE="GPL2"
psychomaniak@19937 9 WEB_SITE="https://github.com/ehegnes/udisks-kitless/"
al@20534 10
psychomaniak@19937 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@19937 12 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}"
psychomaniak@19937 13
psychomaniak@19937 14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \
psychomaniak@19937 15 gobject-introspection-dev intltool"
psychomaniak@19937 16
al@20534 17 compile_rules() {
psychomaniak@19937 18 ./configure \
psychomaniak@19937 19 --enable-fhs-media \
psychomaniak@19937 20 --with-udevdir=/etc/udev \
psychomaniak@19937 21 --with-systemdsystemunitdir=no \
psychomaniak@19937 22 $CONFIGURE_ARGS &&
al@20604 23 fix libtool &&
al@20534 24 make &&
al@20534 25 make install
psychomaniak@19937 26 }
psychomaniak@19937 27
al@20534 28 genpkg_rules() {
psychomaniak@19937 29 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
psychomaniak@19937 30
psychomaniak@19937 31 sed '/lang=/d' -i \
psychomaniak@19937 32 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
psychomaniak@19937 33
psychomaniak@19937 34 # Please, note:
psychomaniak@19937 35 # Package: slitaz-configs-base
psychomaniak@19937 36 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
psychomaniak@19937 37 # Provides: complete access to udisks2 methods
psychomaniak@19937 38
psychomaniak@19937 39 # mount to "/media" instead of "/media/<user>"
psychomaniak@19937 40 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
al@20534 41 DEPENDS="libatasmart libgudev"
psychomaniak@19937 42 }