wok-6.x view udisks2-kitless/receipt @ rev 25212
updated python-passlib (1.7.2 -> 1.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:14:14 2022 +0100 (2022-07-13) |
parents | fc33aae5387c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="udisks2-kitless"
4 VERSION="2.1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus service to access and manipulate storage devices"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/ehegnes/udisks-kitless/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}archive/v${TARBALL/*-/}"
13 DEPENDS="libatasmart libgudev"
14 BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \
15 gobject-introspection-dev intltool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WEB_SITE}tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --enable-fhs-media \
31 --with-udevdir=/etc/udev \
32 --with-systemdsystemunitdir=no \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 # copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so*
41 cook_copy_folders etc bin sbin libexec dbus-1 var
42 cook_copy_files *.so*
44 # mount to "/media" instead of "/media/<user>"
45 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/
46 }