wok-next rev 8619

Up: sane-backends to 1.0.22.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 14 17:51:14 2011 +0000 (2011-02-14)
parents 784f14ec0513
children 7362dacf3962
files sane-backends-dev/receipt sane-backends/receipt
line diff
     1.1 --- a/sane-backends-dev/receipt	Mon Feb 14 16:49:17 2011 +0000
     1.2 +++ b/sane-backends-dev/receipt	Mon Feb 14 17:51:14 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sane-backends-dev"
     1.7 -VERSION="1.0.21"
     1.8 +VERSION="1.0.22"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Sane devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/sane-backends/receipt	Mon Feb 14 16:49:17 2011 +0000
     2.2 +++ b/sane-backends/receipt	Mon Feb 14 17:51:14 2011 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sane-backends"
     2.7 -VERSION="1.0.21"
     2.8 +VERSION="1.0.22"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Scanner Access Now Easy."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -22,13 +22,17 @@
    2.13  		$CONFIGURE_ARGS &&
    2.14  	make &&
    2.15  	make -j 1 DESTDIR=$PWD/_pkg install
    2.16 +
    2.17 +	# copy the missing udev rule
    2.18 +	[ ! -d $PWD/_pkg/etc/udev/rules.d ] && mkdir -p $PWD/_pkg/etc/udev/rules.d
    2.19 +	cp -a $src/tools/udev/libsane.rules $PWD/_pkg/etc/udev/rules.d/55-sane.rules
    2.20  }
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/etc/udev/rules.d  $fs/usr/lib $fs/usr/share \
    2.26 -	         $fs/var/lock/sane
    2.27 +	mkdir -p $fs/usr/lib $fs/usr/share \
    2.28 +	         $fs/var/lock/sane $fs/etc/sane.d
    2.29  	
    2.30  	cp -a $_pkg/etc/sane.d $fs/etc
    2.31  	cp -a $_pkg/usr/bin $fs/usr
    2.32 @@ -37,16 +41,12 @@
    2.33  	cp -a $_pkg/usr/lib/sane $fs/usr/lib
    2.34  	cp -a $_pkg/usr/share/sane $fs/usr/share
    2.35  	
    2.36 -	# copy the missing udev rule
    2.37 -	cp -a $src/tools/udev/libsane.rules $fs/etc/udev/rules.d/55-sane.rules
    2.38 -	
    2.39  	# fix groups/permissions on /var/lock/sane ; add it to scanner group
    2.40 -   chmod 775 "$fs/var/lock/sane"
    2.41 -   chgrp 96 "$fs/var/lock/sane"
    2.42 +	chmod 775 "$fs/var/lock/sane"
    2.43 +	chgrp 96 "$fs/var/lock/sane"
    2.44     
    2.45 -    # fix hp officejets
    2.46 -  echo "hpaio" >> "$fs/etc/sane.d/dll.conf"
    2.47 -
    2.48 +	# fix hp officejets
    2.49 +	echo "hpaio" >> "$fs/etc/sane.d/dll.conf"
    2.50  }
    2.51  
    2.52  post_install()