wok-next view udisks2/receipt @ rev 20068

Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 24 17:49:57 2017 +0300 (2017-10-24)
parents f463de72afe3
children 555cf3b9f1ff
line source
1 # SliTaz package receipt v2.
3 PACKAGE="udisks2"
4 VERSION="2.7.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/udisks2.html"
12 TARBALL="udisks-$VERSION.tar.bz2"
13 WGET_URL="https://github.com/storaged-project/udisks/releases/download/udisks-$VERSION/$TARBALL"
15 BUILD_DEPENDS="docbook-xsl gtk-doc gobject-introspection-dev libgudev-dev \
16 libblockdev-dev polkit-dev libatasmart-dev acl-dev intltool"
17 SPLIT="udisks2-dev"
19 compile_rules() {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-static \
24 --enable-fhs-media \
25 $CONFIGURE_ARGS &&
26 make && make install || return 1
28 # mount to "/media" instead of "/media/<user>"
29 mkdir -p $install/etc/udev/rules.d/
30 cp $stuff/99-udisks2.rules $install/etc/udev/rules.d/
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 udisks2)
36 copy @std
37 DEPENDS="libatasmart libgudev polkit"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="udisks2 glib-dev"
42 ;;
43 esac
44 }