wok-next annotate udisks/receipt @ rev 20647
Up raptor (2.0.15), ruby (2.5.0), scons(3.0.0), screen (4.6.2), sharutils (4.15.2), slang (2.3.1), swig (3.0.12), sysstat (11.6.2), talloc (2.1.11), tcl (8.6.8), tidy-html5 (5.4.0), tk (8.6.8), udisks (1.0.5), unixODBC (2.3.5), unrar (5.5.8), upower (0.99.7), usbids (20180414), usbutils (009), vala (0.38.8), valgrind (3.13.0), wayland-protocols (1.13), yajl (2.1.0); add librep, rasqal, redland, rep-gtk.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 03 16:25:23 2018 +0300 (2018-05-03) |
parents | 5c189fc65a98 |
children | f48456621a9d |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
monghitri@14135 | 2 |
monghitri@14135 | 3 PACKAGE="udisks" |
al@20647 | 4 VERSION="1.0.5" |
monghitri@14135 | 5 CATEGORY="system-tools" |
al@20464 | 6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices" |
monghitri@14135 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20464 | 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" |
al@20647 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/udisks.html" |
al@20464 | 11 |
monghitri@14135 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@14135 | 13 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@15002 | 14 |
al@20623 | 15 BUILD_DEPENDS="libatasmart-dev eudev-dev sg3_utils-dev libgudev-dev \ |
al@20647 | 16 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev \ |
al@20647 | 17 libdevmapper-dev util-linux-blkid-dev util-linux-uuid-dev intltool libxslt \ |
al@20647 | 18 docbook-xsl" |
al@20464 | 19 SPLIT="udisks-dev" |
monghitri@14135 | 20 |
al@20464 | 21 compile_rules() { |
al@20647 | 22 # fix glibc-2.24 issue |
al@20647 | 23 sed 's@#include <stdio\.h>@#include <sys/stat.h>\n#include <stdio.h>@' \ |
al@20647 | 24 -i src/helpers/job-drive-detach.c |
al@20647 | 25 |
monghitri@14135 | 26 ./configure \ |
monghitri@14135 | 27 --disable-remote-access \ |
monghitri@14135 | 28 $CONFIGURE_ARGS && |
al@20604 | 29 fix libtool && |
al@20534 | 30 make && |
al@20647 | 31 make \ |
al@20647 | 32 profiledir=/etc/bash_completion.d \ |
al@20647 | 33 install || return 1 |
al@20647 | 34 |
al@20647 | 35 # we don't have consolekit and don't want systemd so we need |
al@20647 | 36 # a rule to give disk group complete access to udisks2 |
al@20647 | 37 # methods without password. |
al@20647 | 38 install -Dm644 $stuff/org.freedesktop.udisks.pkla \ |
al@20647 | 39 $install/etc/polkit-1/localauthority/90-mandatory.d/org.freedesktop.udisks.pkla |
monghitri@14135 | 40 } |
monghitri@14135 | 41 |
al@20464 | 42 genpkg_rules() { |
al@20464 | 43 case $PACKAGE in |
al@20464 | 44 udisks) |
al@20647 | 45 copy @std |
al@20647 | 46 DEPENDS="dbus dbus-glib eudev glib libatasmart libdevmapper \ |
al@20647 | 47 libgudev libsgutils2 parted polkit bash sg3_utils \ |
al@20647 | 48 util-linux-blkid dbus-helper util-linux-mount lsof" # not sure... |
al@20464 | 49 ;; |
al@20464 | 50 *-dev) |
al@20604 | 51 copy @dev |
al@20464 | 52 ;; |
al@20464 | 53 esac |
monghitri@14135 | 54 } |