wok-6.x view udisks/receipt @ rev 20120
Up tazpkg (953)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 11:01:32 2017 +0200 (2017-10-14) |
parents | b67414949731 |
children | 8c7478c747dd |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
13 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \
14 dbus-helper parted libdevmapper libgio util-linux-mount lsof"
15 BUILD_DEPENDS="flex libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
17 util-linux-blkid-dev util-linux-uuid-dev libxslt docbook-xsl"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/udisks \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --disable-static \
29 --disable-remote-access \
30 --disable-gtk-doc-html \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
39 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
40 cp -a $install/etc/dbus-1 $fs/etc
41 cp -a $install/lib/udev/rules.d $fs/etc/udev
42 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/sbin $fs
45 cp -a $install/usr/lib/udisks $fs/usr/lib
46 cp -a $install/usr/share/*-1 $fs/usr/share
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.udisks.pkla \
51 $fs/etc/polkit-1/localauthority/90-mandatory.d
52 }