wok-next annotate udisks/receipt @ rev 14802
dev86: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 16 10:22:13 2013 +0200 (2013-07-16) |
parents | |
children | 7896f0694ef6 |
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" |
monghitri@14135 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@14135 | 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" |
monghitri@14135 | 10 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
monghitri@14135 | 11 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \ |
monghitri@14135 | 12 dbus-helper parted libdevmapper libgio util-linux-mount lsof" |
monghitri@14135 | 13 BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \ |
monghitri@14135 | 14 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \ |
monghitri@14135 | 15 util-linux-blkid-dev" |
monghitri@14135 | 16 |
monghitri@14135 | 17 # Rules to configure and make the package. |
monghitri@14135 | 18 compile_rules() |
monghitri@14135 | 19 { |
monghitri@14135 | 20 cd $src |
monghitri@14135 | 21 ./configure \ |
monghitri@14135 | 22 --prefix=/usr \ |
monghitri@14135 | 23 --libexecdir=/usr/lib/udisks \ |
monghitri@14135 | 24 --sysconfdir=/etc \ |
monghitri@14135 | 25 --localstatedir=/var \ |
monghitri@14135 | 26 --disable-static \ |
monghitri@14135 | 27 --disable-remote-access \ |
monghitri@14135 | 28 --disable-gtk-doc-html \ |
monghitri@14135 | 29 $CONFIGURE_ARGS && |
monghitri@14135 | 30 make && make install |
monghitri@14135 | 31 } |
monghitri@14135 | 32 |
monghitri@14135 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@14135 | 34 genpkg_rules() |
monghitri@14135 | 35 { |
monghitri@14135 | 36 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ |
monghitri@14135 | 37 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev |
monghitri@14135 | 38 cp -a $install/etc/dbus-1 $fs/etc |
monghitri@14135 | 39 cp -a $install/lib/udev/rules.d $fs/etc/udev |
monghitri@14135 | 40 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/ |
monghitri@14135 | 41 cp -a $install/usr/bin $fs/usr |
monghitri@14135 | 42 cp -a $install/sbin $fs |
monghitri@14135 | 43 cp -a $install/usr/lib/udisks $fs/usr/lib |
monghitri@14135 | 44 cp -a $install/usr/share/*-1 $fs/usr/share |
monghitri@14135 | 45 #we don't have consolekit and don't want systemd so we need |
monghitri@14135 | 46 #a rule to give disk group complete access to udisks2 |
monghitri@14135 | 47 #methods without password. |
monghitri@14135 | 48 cp $stuff/org.freedesktop.udisks.pkla \ |
monghitri@14135 | 49 $fs/etc/polkit-1/localauthority/90-mandatory.d |
monghitri@14135 | 50 } |