wok-next view udisks/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 5c189fc65a98 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
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="http://www.freedesktop.org/wiki/Software/udisks"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/udisks.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
15 BUILD_DEPENDS="libatasmart-dev eudev-dev sg3_utils-dev libgudev-dev \
16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev \
17 libdevmapper-dev util-linux-blkid-dev util-linux-uuid-dev intltool libxslt \
18 docbook-xsl"
19 SPLIT="udisks-dev"
21 compile_rules() {
22 # fix glibc-2.24 issue
23 sed 's@#include <stdio\.h>@#include <sys/stat.h>\n#include <stdio.h>@' \
24 -i src/helpers/job-drive-detach.c
26 ./configure \
27 --disable-remote-access \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make \
32 profiledir=/etc/bash_completion.d \
33 install || return 1
35 # we don't have consolekit and don't want systemd so we need
36 # a rule to give disk group complete access to udisks2
37 # methods without password.
38 install -Dm644 $stuff/org.freedesktop.udisks.pkla \
39 $install/etc/polkit-1/localauthority/90-mandatory.d/org.freedesktop.udisks.pkla
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 udisks)
45 copy @std
46 DEPENDS="dbus dbus-glib eudev glib libatasmart libdevmapper \
47 libgudev libsgutils2 parted polkit bash sg3_utils \
48 util-linux-blkid dbus-helper util-linux-mount lsof" # not sure...
49 ;;
50 *-dev)
51 copy @dev
52 ;;
53 esac
54 }