wok-6.x annotate udisks/receipt @ rev 23713
updated udisks and udisks-dev (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 17:55:30 2020 +0100 (2020-04-28) |
parents | 22f47e58bb56 |
children | 922f061231c2 |
rev | line source |
---|---|
monghitri@14135 | 1 # SliTaz package receipt. |
monghitri@14135 | 2 |
monghitri@14135 | 3 PACKAGE="udisks" |
Hans-G?nter@23713 | 4 VERSION="1.0.5" |
monghitri@14135 | 5 CATEGORY="system-tools" |
monghitri@14135 | 6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices." |
monghitri@14135 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@23713 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/" |
Hans-G?nter@23713 | 10 |
monghitri@14135 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@14135 | 12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@15002 | 13 |
Hans-G?nter@23713 | 14 DEPENDS="dbus dbus-helper libatasmart libdevmapper libgio libgudev libsgutils2 |
Hans-G?nter@23713 | 15 lsof parted polkit sg3_utils udev util-linux-blkid util-linux-mount" |
Hans-G?nter@23713 | 16 BUILD_DEPENDS="dbus-dev dbus-glib-dev docbook-xsl flex libatasmart-dev |
Hans-G?nter@23713 | 17 libdevmapper-dev libgudev-dev libxslt parted-dev pcre-dev polkit-dev |
Hans-G?nter@23713 | 18 sg3_utils-dev udev-dev util-linux-blkid-dev util-linux-uuid-dev" |
monghitri@14135 | 19 |
monghitri@14135 | 20 # Rules to configure and make the package. |
monghitri@14135 | 21 compile_rules() |
monghitri@14135 | 22 { |
Hans-G?nter@23713 | 23 ./configure \ |
Hans-G?nter@23713 | 24 --prefix=/usr \ |
Hans-G?nter@23713 | 25 --libexecdir=/usr/lib/udisks \ |
Hans-G?nter@23713 | 26 --sysconfdir=/etc \ |
Hans-G?nter@23713 | 27 --localstatedir=/var \ |
Hans-G?nter@23713 | 28 --disable-static \ |
Hans-G?nter@23713 | 29 --disable-remote-access \ |
Hans-G?nter@23713 | 30 --disable-gtk-doc-html \ |
Hans-G?nter@23713 | 31 --with-systemdsystemunitdir=no \ |
monghitri@14135 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@23713 | 33 make && |
Hans-G?nter@23713 | 34 make install |
monghitri@14135 | 35 } |
monghitri@14135 | 36 |
monghitri@14135 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@14135 | 38 genpkg_rules() |
monghitri@14135 | 39 { |
Hans-G?nter@23713 | 40 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d |
Hans-G?nter@23713 | 41 mkdir -p $fs/usr/lib/udev $fs/usr/share $fs/etc/udev |
Hans-G?nter@23713 | 42 |
Hans-G?nter@23713 | 43 cp -a $install/etc/dbus-1 $fs/etc |
Hans-G?nter@23713 | 44 cp -a $install/lib/udev/rules.d $fs/etc/udev |
Hans-G?nter@23713 | 45 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/ |
Hans-G?nter@23713 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23713 | 47 cp -a $install/sbin $fs |
Hans-G?nter@23713 | 48 cp -a $install/usr/lib/udisks $fs/usr/lib |
Hans-G?nter@23713 | 49 cp -a $install/usr/share/*-1 $fs/usr/share |
Hans-G?nter@23713 | 50 |
monghitri@14135 | 51 #we don't have consolekit and don't want systemd so we need |
monghitri@14135 | 52 #a rule to give disk group complete access to udisks2 |
monghitri@14135 | 53 #methods without password. |
monghitri@14135 | 54 cp $stuff/org.freedesktop.udisks.pkla \ |
Hans-G?nter@23713 | 55 $fs/etc/polkit-1/localauthority/90-mandatory.d |
monghitri@14135 | 56 } |