wok-6.x view udisks2/receipt @ rev 18513
Separate lib from libboost-dev to libbost-chrono
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 25 00:07:51 2015 +0300 (2015-10-25) |
parents | 7896f0694ef6 |
children | f517baa7c91e |
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks2"
4 VERSION="2.1.3"
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 TARBALL="udisks-$VERSION.tar.bz2"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
11 WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
13 DEPENDS="libatasmart libgudev polkit"
14 BUILD_DEPENDS="libxslt-dev gobject-introspection-dev libgudev-dev polkit-dev \
15 libatasmart-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-static \
24 --disable-gtk-doc-html \
25 --with-udevdir=/etc/udev \
26 $CONFIGURE_ARGS
27 # Build fails when build doc even with docbook-xsl installed.
28 sed -i '/^SUBDIRS/ s|doc||' Makefile
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
36 $fs/usr/lib $fs/usr/share
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/udisks2 $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/dbus-1 $fs/usr/share
44 cp -a $install/usr/share/polkit-1 $fs/usr/share
45 cp -a $install/var $fs
47 # we don't have consolekit and don't want systemd, so we need
48 # a rule to give disk group complete access to udisks2
49 # methods without password.
50 cp $stuff/*.pkla $fs/etc/polkit-1/localauthority/90-mandatory.d
51 }