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