wok-next view udisks2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e7a485521d6a
children d635206a5649
line source
1 # SliTaz package receipt v2.
3 PACKAGE="udisks2"
4 VERSION="2.7.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 --enable-fhs-media \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 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="acl glib libatasmart libblockdev libgudev polkit \
38 util-linux-mount"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="udisks2 glib-dev"
43 ;;
44 esac
45 }