wok annotate udisks2/receipt @ rev 24312

updated unison (2.51.4 -> 2.51.5)
author Hans-G?nter Theisgen
date Thu Jan 20 17:20:42 2022 +0100 (2022-01-20)
parents 074f8db95176
children
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@19536 15 gobject-introspection-dev"
monghitri@14125 16
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@24072 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 20 sed "/udisks-2/!d;/tar/!d;s|.*udisks-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
monghitri@14125 23 # Rules to configure and make the package.
monghitri@14125 24 compile_rules()
monghitri@14125 25 {
monghitri@14125 26 ./configure \
monghitri@14125 27 --sysconfdir=/etc \
monghitri@14125 28 --localstatedir=/var \
al@19536 29 --enable-fhs-media \
al@17280 30 --with-udevdir=/etc/udev \
al@19536 31 --with-systemdsystemunitdir=no \
al@19536 32 $CONFIGURE_ARGS &&
monghitri@14125 33 make && make install
monghitri@14125 34 }
monghitri@14125 35
monghitri@14125 36 # Rules to gen a SliTaz package suitable for Tazpkg.
monghitri@14125 37 genpkg_rules()
monghitri@14125 38 {
al@19536 39 cook_copy_folders etc bin sbin libexec dbus-1 polkit-1 var
al@19536 40 cook_copy_files *.so*
al@17280 41
psychomaniak@19553 42 sed '/lang=/d' -i \
psychomaniak@19553 43 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
psychomaniak@19553 44
al@19536 45 # Please, note:
al@19536 46 # Package: slitaz-configs-base
al@19536 47 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
al@19536 48 # Provides: complete access to udisks2 methods
al@17280 49
al@19536 50 # mount to "/media" instead of "/media/<user>"
psychomaniak@19153 51 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
monghitri@14125 52 }