wok annotate udisks/receipt @ rev 17647
Up: binutils 2.25
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 22:11:20 2015 +0000 (2015-02-14) |
parents | 7896f0694ef6 |
children | 22f47e58bb56 |
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" |
monghitri@14135 | 15 BUILD_DEPENDS="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 \ |
pascal@15628 | 17 util-linux-blkid-dev util-linux-uuid-dev" |
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 } |