wok diff udisks2/receipt @ rev 19129

Leafpad: use generic icon (found in most icon themes)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 13 03:36:37 2016 +0300 (2016-05-13)
parents 7896f0694ef6
children f517baa7c91e
line diff
     1.1 --- a/udisks2/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/udisks2/receipt	Fri May 13 03:36:37 2016 +0300
     1.3 @@ -1,33 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="udisks2"
     1.7 -VERSION="1.94.0"
     1.8 +VERSION="2.1.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
    1.11 +SHORT_DESC="D-Bus service to access and manipulate storage devices"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SOURCE="udisks"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 +TARBALL="udisks-$VERSION.tar.bz2"
    1.17  WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    1.18  WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
    1.19  
    1.20 -DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus util-linux-mount \
    1.21 -dbus-helper"
    1.22 -BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \
    1.23 -polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev"
    1.24 +DEPENDS="libatasmart libgudev polkit"
    1.25 +BUILD_DEPENDS="libxslt-dev gobject-introspection-dev libgudev-dev polkit-dev \
    1.26 +libatasmart-dev expat-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	./configure \
    1.33  		--sysconfdir=/etc \
    1.34  		--localstatedir=/var \
    1.35  		--disable-static \
    1.36 -		--disable-gtk-doc \
    1.37 -		$CONFIGURE_ARGS &&
    1.38 +		--disable-gtk-doc-html \
    1.39 +		--with-udevdir=/etc/udev \
    1.40 +		$CONFIGURE_ARGS
    1.41  	# Build fails when build doc even with docbook-xsl installed.
    1.42 -	sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile &&
    1.43 +	sed -i '/^SUBDIRS/ s|doc||' Makefile
    1.44  	make && make install
    1.45  }
    1.46  
    1.47 @@ -35,18 +33,19 @@
    1.48  genpkg_rules()
    1.49  {
    1.50  	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
    1.51 -		$fs/usr/lib $fs/usr/share $fs/etc/udev
    1.52 -	cp -a $install/etc/dbus-1 $fs/etc
    1.53 -	cp -a $install/lib/udev $fs/etc
    1.54 +		$fs/usr/lib $fs/usr/share
    1.55 +
    1.56 +	cp -a $install/etc $fs
    1.57  	cp -a $install/usr/bin $fs/usr
    1.58  	cp -a $install/usr/sbin $fs/usr
    1.59  	cp -a $install/usr/lib/udisks2 $fs/usr/lib
    1.60  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.61 -	cp -a $install/usr/share/*-1 $fs/usr/share
    1.62 +	cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.63 +	cp -a $install/usr/share/polkit-1 $fs/usr/share
    1.64  	cp -a $install/var $fs
    1.65 -	#we don't have consolekit and don't want systemd so we need
    1.66 -	#a rule to give disk group complete access to udisks2
    1.67 -	#methods without password.
    1.68 -	cp $stuff/org.freedesktop.udisks2.pkla \
    1.69 -		$fs/etc/polkit-1/localauthority/90-mandatory.d
    1.70 +
    1.71 +	# we don't have consolekit and don't want systemd, so we need
    1.72 +	# a rule to give disk group complete access to udisks2
    1.73 +	# methods without password.
    1.74 +	cp $stuff/*.pkla $fs/etc/polkit-1/localauthority/90-mandatory.d
    1.75  }