wok-next view udisks/receipt @ rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents e70c0b9c5adf
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
14 BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
15 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
16 util-linux-blkid-dev util-linux-uuid-dev intltool"
17 SPLIT="udisks-dev"
19 compile_rules() {
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib/udisks \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-static \
26 --disable-remote-access \
27 --disable-gtk-doc-html \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 udisks)
35 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
36 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
37 cp -a $install/etc/dbus-1 $fs/etc
38 cp -a $install/lib/udev/rules.d $fs/etc/udev
39 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/sbin $fs
42 cp -a $install/usr/lib/udisks $fs/usr/lib
43 cp -a $install/usr/share/*-1 $fs/usr/share
44 #we don't have consolekit and don't want systemd so we need
45 #a rule to give disk group complete access to udisks2
46 #methods without password.
47 cp $stuff/org.freedesktop.udisks.pkla \
48 $fs/etc/polkit-1/localauthority/90-mandatory.d
49 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit \
50 dbus util-linux-blkid dbus-helper parted libdevmapper glib \
51 util-linux-mount lsof"
52 ;;
53 *-dev)
54 mkdir -p $fs/usr/share
55 cp -a $install/usr/share/pkgconfig $fs/usr/share
56 ;;
57 esac
58 }