wok-next annotate udisks2/receipt @ rev 19840
Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 14 15:53:27 2017 +0300 (2017-08-14) |
parents | 0c247ee1a841 |
children | 0a667524ce79 |
rev | line source |
---|---|
monghitri@14125 | 1 # SliTaz package receipt. |
monghitri@14125 | 2 |
monghitri@14125 | 3 PACKAGE="udisks2" |
al@19536 | 4 VERSION="2.1.8" |
monghitri@14125 | 5 CATEGORY="system-tools" |
al@17280 | 6 SHORT_DESC="D-Bus service to access and manipulate storage devices" |
monghitri@14125 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19536 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/" |
al@17280 | 10 TARBALL="udisks-$VERSION.tar.bz2" |
al@19536 | 11 WGET_URL="https://udisks.freedesktop.org/releases/$TARBALL" |
monghitri@14125 | 12 |
al@17280 | 13 DEPENDS="libatasmart libgudev polkit" |
al@19536 | 14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev polkit-dev libatasmart-dev \ |
al@19675 | 15 gobject-introspection-dev intltool" |
monghitri@14125 | 16 |
monghitri@14125 | 17 # Rules to configure and make the package. |
monghitri@14125 | 18 compile_rules() |
monghitri@14125 | 19 { |
monghitri@14125 | 20 ./configure \ |
monghitri@14125 | 21 --sysconfdir=/etc \ |
monghitri@14125 | 22 --localstatedir=/var \ |
al@19536 | 23 --enable-fhs-media \ |
al@17280 | 24 --with-udevdir=/etc/udev \ |
al@19536 | 25 --with-systemdsystemunitdir=no \ |
al@19536 | 26 $CONFIGURE_ARGS && |
monghitri@14125 | 27 make && make install |
monghitri@14125 | 28 } |
monghitri@14125 | 29 |
monghitri@14125 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@14125 | 31 genpkg_rules() |
monghitri@14125 | 32 { |
al@19783 | 33 copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so* |
al@17280 | 34 |
psychomaniak@19553 | 35 sed '/lang=/d' -i \ |
psychomaniak@19553 | 36 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy |
psychomaniak@19553 | 37 |
al@19536 | 38 # Please, note: |
al@19536 | 39 # Package: slitaz-configs-base |
al@19536 | 40 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla |
al@19536 | 41 # Provides: complete access to udisks2 methods |
al@17280 | 42 |
al@19536 | 43 # mount to "/media" instead of "/media/<user>" |
psychomaniak@19153 | 44 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/ |
monghitri@14125 | 45 } |