wok-current annotate udisks2-kitless/receipt @ rev 21920

Add pcem
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 05 16:15:48 2019 +0200 (2019-10-05)
parents e186b360aa08
children 922f061231c2
rev   line source
psychomaniak@20126 1 # SliTaz package receipt.
psychomaniak@20126 2
psychomaniak@20126 3 PACKAGE="udisks2-kitless"
psychomaniak@20126 4 VERSION="2.1.8"
psychomaniak@20126 5 CATEGORY="system-tools"
psychomaniak@20126 6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
psychomaniak@20127 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@20126 8 LICENSE="GPL2"
psychomaniak@20126 9 WEB_SITE="https://github.com/ehegnes/udisks-kitless/"
psychomaniak@20126 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@20126 11 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}"
psychomaniak@20126 12
psychomaniak@20126 13 DEPENDS="libatasmart libgudev"
psychomaniak@20126 14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \
psychomaniak@20126 15 gobject-introspection-dev intltool"
psychomaniak@20126 16
psychomaniak@20126 17 # Rules to configure and make the package.
psychomaniak@20126 18 compile_rules()
psychomaniak@20126 19 {
psychomaniak@20126 20 ./configure \
psychomaniak@20126 21 --sysconfdir=/etc \
psychomaniak@20126 22 --localstatedir=/var \
psychomaniak@20126 23 --enable-fhs-media \
psychomaniak@20126 24 --with-udevdir=/etc/udev \
psychomaniak@20126 25 --with-systemdsystemunitdir=no \
psychomaniak@20126 26 $CONFIGURE_ARGS &&
psychomaniak@20126 27 make && make install
psychomaniak@20126 28 }
psychomaniak@20126 29
psychomaniak@20126 30 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20126 31 genpkg_rules()
psychomaniak@20126 32 {
psychomaniak@20128 33 # copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
psychomaniak@20128 34 cook_copy_folders etc bin sbin libexec dbus-1 var
psychomaniak@20128 35 cook_copy_files *.so*
psychomaniak@20126 36
psychomaniak@20126 37 # mount to "/media" instead of "/media/<user>"
psychomaniak@20126 38 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
psychomaniak@20126 39 }