wok-next diff hal/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d6378d455338
children
line diff
     1.1 --- a/hal/receipt	Thu May 10 21:12:00 2018 +0300
     1.2 +++ b/hal/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,18 +4,16 @@
     1.4  VERSION="0.5.14"
     1.5  CATEGORY="x-window"
     1.6  SHORT_DESC="Hardware Abstraction Layer"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10 -WEB_SITE="http://www.freedesktop.org/wiki/Software/hal"
    1.11 +WEB_SITE="https://www.freedesktop.org/wiki/Software/hal/"
    1.12  
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    1.15  
    1.16  BUILD_DEPENDS="dbus-dev dbus-glib dbus-glib-dev eudev-dev pciutils \
    1.17  util-linux-blkid-dev expat-dev util-linux-uuid-dev glib-dev v4l-utils-dev"
    1.18 -SPLIT="hal-scripts hal-extra hal hal-dev"
    1.19 -
    1.20 -CROSS="error: cannot check for file existence when cross compiling"
    1.21 +SPLIT="$PACKAGE-scripts $PACKAGE-extra $PACKAGE $PACKAGE-dev"
    1.22  
    1.23  compile_rules() {
    1.24  	sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
    1.25 @@ -41,9 +39,14 @@
    1.26  	chmod -R +x $install$libexecdir/scripts/*
    1.27  
    1.28  	# init script
    1.29 -	cp -a $stuff/etc $install
    1.30 +	install -Dm755 $stuff/hald $install/etc/init.d/hald
    1.31 +	# and its conf
    1.32 +	install -Dm644 $stuff/hald.conf $install/etc/daemons.conf.d/hald.conf
    1.33 +
    1.34  	# policy for ntfs-3g
    1.35 -	cp -a $stuff/policy $install/usr/share/hal/fdi/
    1.36 +	install -Dm644 $stuff/30-ntfs-write.fdi \
    1.37 +		$install/usr/share/hal/fdi/policy/10osvendor/30-ntfs-write.fdi
    1.38 +
    1.39  	# change bash to sh in hal scripts; use full-path
    1.40  	sed -i \
    1.41  		-e 's:/bin/bash:/bin/sh:' \