wok-current annotate udisks2/receipt @ rev 14178
linux: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 17:56:50 2013 +0100 (2013-03-10) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
monghitri@14125 | 1 # SliTaz package receipt. |
monghitri@14125 | 2 |
monghitri@14125 | 3 PACKAGE="udisks2" |
monghitri@14125 | 4 VERSION="1.94.0" |
monghitri@14125 | 5 CATEGORY="system-tools" |
monghitri@14125 | 6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices." |
monghitri@14125 | 7 MAINTAINER="pankso@slitaz.org" |
monghitri@14125 | 8 SOURCE="udisks" |
monghitri@14125 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
monghitri@14125 | 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" |
monghitri@14125 | 11 WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL" |
monghitri@14125 | 12 |
monghitri@14125 | 13 DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus util-linux-mount \ |
monghitri@14125 | 14 dbus-helper" |
monghitri@14125 | 15 BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \ |
monghitri@14125 | 16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev" |
monghitri@14125 | 17 |
monghitri@14125 | 18 # Rules to configure and make the package. |
monghitri@14125 | 19 compile_rules() |
monghitri@14125 | 20 { |
monghitri@14125 | 21 cd $src |
monghitri@14125 | 22 ./configure \ |
monghitri@14125 | 23 --sysconfdir=/etc \ |
monghitri@14125 | 24 --localstatedir=/var \ |
monghitri@14125 | 25 --disable-static \ |
monghitri@14125 | 26 --disable-gtk-doc \ |
monghitri@14125 | 27 $CONFIGURE_ARGS && |
monghitri@14125 | 28 # Build fails when build doc even with docbook-xsl installed. |
monghitri@14125 | 29 sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile && |
monghitri@14125 | 30 make && make install |
monghitri@14125 | 31 } |
monghitri@14125 | 32 |
monghitri@14125 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@14125 | 34 genpkg_rules() |
monghitri@14125 | 35 { |
monghitri@14125 | 36 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ |
monghitri@14125 | 37 $fs/usr/lib $fs/usr/share $fs/etc/udev |
monghitri@14125 | 38 cp -a $install/etc/dbus-1 $fs/etc |
monghitri@14125 | 39 cp -a $install/lib/udev $fs/etc |
monghitri@14125 | 40 cp -a $install/usr/bin $fs/usr |
monghitri@14125 | 41 cp -a $install/usr/sbin $fs/usr |
monghitri@14125 | 42 cp -a $install/usr/lib/udisks2 $fs/usr/lib |
monghitri@14125 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
monghitri@14125 | 44 cp -a $install/usr/share/*-1 $fs/usr/share |
monghitri@14125 | 45 cp -a $install/var $fs |
monghitri@14125 | 46 #we don't have consolekit and don't want systemd so we need |
monghitri@14125 | 47 #a rule to give disk group complete access to udisks2 |
monghitri@14125 | 48 #methods without password. |
monghitri@14125 | 49 cp $stuff/org.freedesktop.udisks2.pkla \ |
monghitri@14125 | 50 $fs/etc/polkit-1/localauthority/90-mandatory.d |
monghitri@14125 | 51 } |