wok-6.x annotate udisks/receipt @ rev 21082
updated jhead (2.97 -> 3.03)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 13:33:31 2019 +0100 (2019-03-15) |
parents | b67414949731 |
children | 8c7478c747dd |
rev | line source |
---|---|
monghitri@14135 | 1 # SliTaz package receipt. |
monghitri@14135 | 2 |
monghitri@14135 | 3 PACKAGE="udisks" |
monghitri@14135 | 4 VERSION="1.0.4" |
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" |
monghitri@14135 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@14135 | 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" |
monghitri@14135 | 11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@15002 | 12 |
monghitri@14135 | 13 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \ |
monghitri@14135 | 14 dbus-helper parted libdevmapper libgio util-linux-mount lsof" |
al@19727 | 15 BUILD_DEPENDS="flex libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \ |
monghitri@14135 | 16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \ |
al@19727 | 17 util-linux-blkid-dev util-linux-uuid-dev libxslt docbook-xsl" |
monghitri@14135 | 18 |
monghitri@14135 | 19 # Rules to configure and make the package. |
monghitri@14135 | 20 compile_rules() |
monghitri@14135 | 21 { |
monghitri@14135 | 22 cd $src |
monghitri@14135 | 23 ./configure \ |
monghitri@14135 | 24 --prefix=/usr \ |
monghitri@14135 | 25 --libexecdir=/usr/lib/udisks \ |
monghitri@14135 | 26 --sysconfdir=/etc \ |
monghitri@14135 | 27 --localstatedir=/var \ |
monghitri@14135 | 28 --disable-static \ |
monghitri@14135 | 29 --disable-remote-access \ |
monghitri@14135 | 30 --disable-gtk-doc-html \ |
monghitri@14135 | 31 $CONFIGURE_ARGS && |
monghitri@14135 | 32 make && make install |
monghitri@14135 | 33 } |
monghitri@14135 | 34 |
monghitri@14135 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@14135 | 36 genpkg_rules() |
monghitri@14135 | 37 { |
monghitri@14135 | 38 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ |
monghitri@14135 | 39 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev |
monghitri@14135 | 40 cp -a $install/etc/dbus-1 $fs/etc |
monghitri@14135 | 41 cp -a $install/lib/udev/rules.d $fs/etc/udev |
monghitri@14135 | 42 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/ |
monghitri@14135 | 43 cp -a $install/usr/bin $fs/usr |
monghitri@14135 | 44 cp -a $install/sbin $fs |
monghitri@14135 | 45 cp -a $install/usr/lib/udisks $fs/usr/lib |
monghitri@14135 | 46 cp -a $install/usr/share/*-1 $fs/usr/share |
monghitri@14135 | 47 #we don't have consolekit and don't want systemd so we need |
monghitri@14135 | 48 #a rule to give disk group complete access to udisks2 |
monghitri@14135 | 49 #methods without password. |
monghitri@14135 | 50 cp $stuff/org.freedesktop.udisks.pkla \ |
monghitri@14135 | 51 $fs/etc/polkit-1/localauthority/90-mandatory.d |
monghitri@14135 | 52 } |