wok-next annotate udisks2-kitless/receipt @ rev 19995
qtwebkit: rm gstreamer
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 15:57:38 2017 +0200 (2017-10-20) |
parents | ea1adcca236f |
children | 757d032c55c7 |
rev | line source |
---|---|
psychomaniak@19937 | 1 # SliTaz package receipt. |
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/" |
psychomaniak@19937 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@19937 | 11 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}" |
psychomaniak@19937 | 12 |
psychomaniak@19937 | 13 DEPENDS="libatasmart libgudev" |
psychomaniak@19937 | 14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \ |
psychomaniak@19937 | 15 gobject-introspection-dev intltool" |
psychomaniak@19937 | 16 |
psychomaniak@19937 | 17 # Rules to configure and make the package. |
psychomaniak@19937 | 18 compile_rules() |
psychomaniak@19937 | 19 { |
psychomaniak@19937 | 20 ./configure \ |
psychomaniak@19937 | 21 --sysconfdir=/etc \ |
psychomaniak@19937 | 22 --localstatedir=/var \ |
psychomaniak@19937 | 23 --enable-fhs-media \ |
psychomaniak@19937 | 24 --with-udevdir=/etc/udev \ |
psychomaniak@19937 | 25 --with-systemdsystemunitdir=no \ |
psychomaniak@19937 | 26 $CONFIGURE_ARGS && |
psychomaniak@19937 | 27 make && make install |
psychomaniak@19937 | 28 } |
psychomaniak@19937 | 29 |
psychomaniak@19937 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19937 | 31 genpkg_rules() |
psychomaniak@19937 | 32 { |
psychomaniak@19937 | 33 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so* |
psychomaniak@19937 | 34 |
psychomaniak@19937 | 35 sed '/lang=/d' -i \ |
psychomaniak@19937 | 36 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy |
psychomaniak@19937 | 37 |
psychomaniak@19937 | 38 # Please, note: |
psychomaniak@19937 | 39 # Package: slitaz-configs-base |
psychomaniak@19937 | 40 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla |
psychomaniak@19937 | 41 # Provides: complete access to udisks2 methods |
psychomaniak@19937 | 42 |
psychomaniak@19937 | 43 # mount to "/media" instead of "/media/<user>" |
psychomaniak@19937 | 44 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/ |
psychomaniak@19937 | 45 } |