wok-next view udisks/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | 4396aed7eb01 |
children | 10df65db91ad |
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 --libexecdir=/usr/lib/udisks \
22 --disable-static \
23 --disable-remote-access \
24 --disable-gtk-doc-html \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 udisks)
33 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
34 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
35 cp -a $install/etc/dbus-1 $fs/etc
36 cp -a $install/lib/udev/rules.d $fs/etc/udev
37 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/sbin $fs
40 cp -a $install/usr/lib/udisks $fs/usr/lib
41 cp -a $install/usr/share/*-1 $fs/usr/share
42 #we don't have consolekit and don't want systemd so we need
43 #a rule to give disk group complete access to udisks2
44 #methods without password.
45 cp $stuff/org.freedesktop.udisks.pkla \
46 $fs/etc/polkit-1/localauthority/90-mandatory.d
47 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit \
48 dbus util-linux-blkid dbus-helper parted libdevmapper glib \
49 util-linux-mount lsof"
50 ;;
51 *-dev)
52 mkdir -p $fs/usr/share
53 cp -a $install/usr/share/pkgconfig $fs/usr/share
54 ;;
55 esac
56 }