wok-current annotate udisks2-kitless/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | fc33aae5387c |
children |
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 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - ${WEB_SITE}tags 2>/dev/null | \ |
pascal@24304 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
psychomaniak@20126 | 24 # Rules to configure and make the package. |
psychomaniak@20126 | 25 compile_rules() |
psychomaniak@20126 | 26 { |
psychomaniak@20126 | 27 ./configure \ |
psychomaniak@20126 | 28 --sysconfdir=/etc \ |
psychomaniak@20126 | 29 --localstatedir=/var \ |
psychomaniak@20126 | 30 --enable-fhs-media \ |
psychomaniak@20126 | 31 --with-udevdir=/etc/udev \ |
psychomaniak@20126 | 32 --with-systemdsystemunitdir=no \ |
psychomaniak@20126 | 33 $CONFIGURE_ARGS && |
psychomaniak@20126 | 34 make && make install |
psychomaniak@20126 | 35 } |
psychomaniak@20126 | 36 |
psychomaniak@20126 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20126 | 38 genpkg_rules() |
psychomaniak@20126 | 39 { |
psychomaniak@20128 | 40 # copy etc/ bin/ sbin/ libexec/ dbus-1/ polkit-1/ var/ *.so* |
psychomaniak@20128 | 41 cook_copy_folders etc bin sbin libexec dbus-1 var |
psychomaniak@20128 | 42 cook_copy_files *.so* |
psychomaniak@20126 | 43 |
psychomaniak@20126 | 44 # mount to "/media" instead of "/media/<user>" |
psychomaniak@20126 | 45 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/ |
psychomaniak@20126 | 46 } |