wok-6.x view udisks/receipt @ rev 24073
ocaml: disable-force-safe-string
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 06:56:08 2021 +0000 (2021-07-08) |
parents | 22f47e58bb56 |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks"
4 VERSION="1.0.5"
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 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
14 DEPENDS="dbus dbus-helper libatasmart libdevmapper libgio libgudev libsgutils2
15 lsof parted polkit sg3_utils udev util-linux-blkid util-linux-mount"
16 BUILD_DEPENDS="dbus-dev dbus-glib-dev docbook-xsl flex libatasmart-dev
17 libdevmapper-dev libgudev-dev libxslt parted-dev pcre-dev polkit-dev
18 sg3_utils-dev udev-dev util-linux-blkid-dev util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
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 --with-systemdsystemunitdir=no \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d
41 mkdir -p $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
43 cp -a $install/etc/dbus-1 $fs/etc
44 cp -a $install/lib/udev/rules.d $fs/etc/udev
45 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/sbin $fs
48 cp -a $install/usr/lib/udisks $fs/usr/lib
49 cp -a $install/usr/share/*-1 $fs/usr/share
51 #we don't have consolekit and don't want systemd so we need
52 #a rule to give disk group complete access to udisks2
53 #methods without password.
54 cp $stuff/org.freedesktop.udisks.pkla \
55 $fs/etc/polkit-1/localauthority/90-mandatory.d
56 }