wok diff udisks/receipt @ rev 24097

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 17:18:37 2021 +0000 (2021-09-13)
parents 22f47e58bb56
children 922f061231c2
line diff
     1.1 --- a/udisks/receipt	Fri Feb 17 00:35:01 2017 +0200
     1.2 +++ b/udisks/receipt	Mon Sep 13 17:18:37 2021 +0000
     1.3 @@ -1,52 +1,56 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="udisks"
     1.7 -VERSION="1.0.4"
     1.8 +VERSION="1.0.5"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    1.17  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    1.18  
    1.19 -DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \
    1.20 -dbus-helper parted libdevmapper libgio util-linux-mount lsof"
    1.21 -BUILD_DEPENDS="flex libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
    1.22 -polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
    1.23 -util-linux-blkid-dev util-linux-uuid-dev libxslt docbook-xsl"
    1.24 +DEPENDS="dbus dbus-helper libatasmart libdevmapper libgio libgudev libsgutils2 
    1.25 +	lsof parted polkit sg3_utils udev util-linux-blkid util-linux-mount"
    1.26 +BUILD_DEPENDS="dbus-dev dbus-glib-dev docbook-xsl flex libatasmart-dev 
    1.27 +	libdevmapper-dev libgudev-dev libxslt parted-dev pcre-dev polkit-dev 
    1.28 +	sg3_utils-dev udev-dev util-linux-blkid-dev util-linux-uuid-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -	./configure \
    1.35 -		--prefix=/usr \
    1.36 -		--libexecdir=/usr/lib/udisks \
    1.37 -		--sysconfdir=/etc \
    1.38 -		--localstatedir=/var \
    1.39 -		--disable-static \
    1.40 -		--disable-remote-access \
    1.41 -		--disable-gtk-doc-html \
    1.42 +	./configure				\
    1.43 +		--prefix=/usr			\
    1.44 +		--libexecdir=/usr/lib/udisks	\
    1.45 +		--sysconfdir=/etc		\
    1.46 +		--localstatedir=/var		\
    1.47 +		--disable-static		\
    1.48 +		--disable-remote-access		\
    1.49 +		--disable-gtk-doc-html		\
    1.50 +		--with-systemdsystemunitdir=no	\
    1.51  		$CONFIGURE_ARGS &&
    1.52 -	make && make install
    1.53 +	make &&
    1.54 +	make install
    1.55  }
    1.56  
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58  genpkg_rules()
    1.59  {
    1.60 -	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
    1.61 -		$fs/usr/lib/udev $fs/usr/share $fs/etc/udev
    1.62 -	cp -a $install/etc/dbus-1 $fs/etc
    1.63 -	cp -a $install/lib/udev/rules.d $fs/etc/udev
    1.64 -	cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
    1.65 -	cp -a $install/usr/bin $fs/usr
    1.66 -	cp -a $install/sbin $fs
    1.67 -	cp -a $install/usr/lib/udisks $fs/usr/lib
    1.68 -	cp -a $install/usr/share/*-1 $fs/usr/share
    1.69 +	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d
    1.70 +	mkdir -p $fs/usr/lib/udev $fs/usr/share $fs/etc/udev
    1.71 +
    1.72 +	cp -a $install/etc/dbus-1	$fs/etc
    1.73 +	cp -a $install/lib/udev/rules.d	$fs/etc/udev
    1.74 +	cp -a $install/lib/udev/udisks*	$fs/usr/lib/udev/
    1.75 +	cp -a $install/usr/bin		$fs/usr
    1.76 +	cp -a $install/sbin		$fs
    1.77 +	cp -a $install/usr/lib/udisks	$fs/usr/lib
    1.78 +	cp -a $install/usr/share/*-1	$fs/usr/share
    1.79 +
    1.80  	#we don't have consolekit and don't want systemd so we need
    1.81  	#a rule to give disk group complete access to udisks2
    1.82  	#methods without password.
    1.83  	cp $stuff/org.freedesktop.udisks.pkla \
    1.84 -		$fs/etc/polkit-1/localauthority/90-mandatory.d
    1.85 +					$fs/etc/polkit-1/localauthority/90-mandatory.d
    1.86  }