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