wok-6.x view udisks/receipt @ rev 14887

Up: python-sqlalchemy (0.7.10)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:01:19 2013 -0300 (2013-07-24)
parents
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks"
4 VERSION="1.0.4"
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.gz"
9 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
10 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
11 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \
12 dbus-helper parted libdevmapper libgio util-linux-mount lsof"
13 BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
14 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
15 util-linux-blkid-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/udisks \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --disable-static \
27 --disable-remote-access \
28 --disable-gtk-doc-html \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
37 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
38 cp -a $install/etc/dbus-1 $fs/etc
39 cp -a $install/lib/udev/rules.d $fs/etc/udev
40 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/sbin $fs
43 cp -a $install/usr/lib/udisks $fs/usr/lib
44 cp -a $install/usr/share/*-1 $fs/usr/share
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.udisks.pkla \
49 $fs/etc/polkit-1/localauthority/90-mandatory.d
50 }