wok annotate udisks2/receipt @ rev 23495

updated python-humanize (0.5.1 -> 1.0.0)
author Hans-G?nter Theisgen
date Mon Apr 06 07:04:00 2020 +0100 (2020-04-06)
parents 52fc64fb8fee
children 5d79829fa876
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
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@19536 33 cook_copy_folders etc bin sbin libexec dbus-1 polkit-1 var
al@19536 34 cook_copy_files *.so*
al@17280 35
psychomaniak@19553 36 sed '/lang=/d' -i \
psychomaniak@19553 37 $fs/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
psychomaniak@19553 38
al@19536 39 # Please, note:
al@19536 40 # Package: slitaz-configs-base
al@19536 41 # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla
al@19536 42 # Provides: complete access to udisks2 methods
al@17280 43
al@19536 44 # mount to "/media" instead of "/media/<user>"
psychomaniak@19153 45 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
monghitri@14125 46 }