wok-6.x view udisks/receipt @ rev 25168

updated python-click (7.1.1 -> 7.1.2)
author Hans-G?nter Theisgen
date Fri Jul 01 15:13:29 2022 +0100 (2022-07-01)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks"
4 VERSION="1.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://hal.freedesktop.org/releases/$TARBALL"
14 DEPENDS="dbus dbus-helper libatasmart libdevmapper libgio libgudev libsgutils2
15 lsof parted polkit sg3_utils udev util-linux-blkid util-linux-mount"
16 BUILD_DEPENDS="dbus-dev dbus-glib-dev docbook-xsl flex libatasmart-dev
17 libdevmapper-dev libgudev-dev libxslt parted-dev pcre-dev polkit-dev
18 sg3_utils-dev udev-dev util-linux-blkid-dev util-linux-uuid-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/storaged-project/udisks/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --libexecdir=/usr/lib/udisks \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-static \
36 --disable-remote-access \
37 --disable-gtk-doc-html \
38 --with-systemdsystemunitdir=no \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d
48 mkdir -p $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
50 cp -a $install/etc/dbus-1 $fs/etc
51 cp -a $install/lib/udev/rules.d $fs/etc/udev
52 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/sbin $fs
55 cp -a $install/usr/lib/udisks $fs/usr/lib
56 cp -a $install/usr/share/*-1 $fs/usr/share
58 #we don't have consolekit and don't want systemd so we need
59 #a rule to give disk group complete access to udisks2
60 #methods without password.
61 cp $stuff/org.freedesktop.udisks.pkla \
62 $fs/etc/polkit-1/localauthority/90-mandatory.d
63 }