wok-next view udisks2/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d635206a5649
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="udisks2"
4 VERSION="2.8.1"
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"
14 TARBALL_SHA1="e69fc1a417f4d5e116487ca735bbef89e96cc0f4"
16 BUILD_DEPENDS="docbook-xsl gtk-doc gobject-introspection-dev libgudev-dev \
17 libblockdev-dev polkit-no-script-dev libatasmart-dev acl-dev intltool"
18 SPLIT="$PACKAGE-dev"
20 DEPENDS_std="acl glib libatasmart libblockdev libgudev polkit-no-script \
21 util-linux-mount"
22 DEPENDS_dev="$PACKAGE glib-dev"
24 compile_rules() {
25 ./configure \
26 --disable-static \
27 --enable-fhs-media \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 sed -i -r 's|^ +||; s|\\m\[blue\]||; s|\\m\[\]||' doc/man/*.[158] &&
32 make install || return 1
34 # mount to "/media" instead of "/media/<user>"
35 install -Dm644 $stuff/99-udisks2.rules $install/etc/udev/rules.d/99-udisks2.rules
36 }