wok-6.x view udisks2/receipt @ rev 16319

ARM: add mpfr + mpc-library (to cook native ARM gcc) and try to fix glib (gtk crashe are from libgobject-2.0.so.0)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 20:51:15 2014 +0200 (2014-04-09)
parents 58941a070b50
children 96fd065ed4ea
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks2"
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 LICENSE="GPL2"
9 SOURCE="udisks"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
12 WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
14 DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus util-linux-mount \
15 dbus-helper"
16 BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \
17 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --disable-static \
27 --disable-gtk-doc \
28 $CONFIGURE_ARGS &&
29 # Build fails when build doc even with docbook-xsl installed.
30 sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
38 $fs/usr/lib $fs/usr/share $fs/etc/udev
39 cp -a $install/etc/dbus-1 $fs/etc
40 cp -a $install/lib/udev $fs/etc
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/udisks2 $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/share/*-1 $fs/usr/share
46 cp -a $install/var $fs
47 #we don't have consolekit and don't want systemd so we need
48 #a rule to give disk group complete access to udisks2
49 #methods without password.
50 cp $stuff/org.freedesktop.udisks2.pkla \
51 $fs/etc/polkit-1/localauthority/90-mandatory.d
52 }