wok-next view udisks2/receipt @ rev 21081
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 11:36:03 2018 +0200 (2018-12-24) |
parents | d5aab818505e |
children | 0f2575775b2d |
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 DEPENDS_std="acl glib libatasmart libblockdev libgudev polkit util-linux-mount"
20 DEPENDS_dev="$PACKAGE glib-dev"
22 compile_rules() {
23 ./configure \
24 --disable-static \
25 --enable-fhs-media \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 # mount to "/media" instead of "/media/<user>"
32 mkdir -p $install/etc/udev/rules.d/
33 cp $stuff/99-udisks2.rules $install/etc/udev/rules.d/
34 }