# HG changeset patch # User Christopher Rogers # Date 1297705874 0 # Node ID 12dc00e8fec99d531c6511465745ce790926c045 # Parent 784f14ec0513b9ac8a0374225e5f470b5425b220 Up: sane-backends to 1.0.22. diff -r 784f14ec0513 -r 12dc00e8fec9 sane-backends-dev/receipt --- a/sane-backends-dev/receipt Mon Feb 14 16:49:17 2011 +0000 +++ b/sane-backends-dev/receipt Mon Feb 14 17:51:14 2011 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="sane-backends-dev" -VERSION="1.0.21" +VERSION="1.0.22" CATEGORY="development" SHORT_DESC="Sane devel files." MAINTAINER="pankso@slitaz.org" diff -r 784f14ec0513 -r 12dc00e8fec9 sane-backends/receipt --- a/sane-backends/receipt Mon Feb 14 16:49:17 2011 +0000 +++ b/sane-backends/receipt Mon Feb 14 17:51:14 2011 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="sane-backends" -VERSION="1.0.21" +VERSION="1.0.22" CATEGORY="system-tools" SHORT_DESC="Scanner Access Now Easy." MAINTAINER="pankso@slitaz.org" @@ -22,13 +22,17 @@ $CONFIGURE_ARGS && make && make -j 1 DESTDIR=$PWD/_pkg install + + # copy the missing udev rule + [ ! -d $PWD/_pkg/etc/udev/rules.d ] && mkdir -p $PWD/_pkg/etc/udev/rules.d + cp -a $src/tools/udev/libsane.rules $PWD/_pkg/etc/udev/rules.d/55-sane.rules } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/etc/udev/rules.d $fs/usr/lib $fs/usr/share \ - $fs/var/lock/sane + mkdir -p $fs/usr/lib $fs/usr/share \ + $fs/var/lock/sane $fs/etc/sane.d cp -a $_pkg/etc/sane.d $fs/etc cp -a $_pkg/usr/bin $fs/usr @@ -37,16 +41,12 @@ cp -a $_pkg/usr/lib/sane $fs/usr/lib cp -a $_pkg/usr/share/sane $fs/usr/share - # copy the missing udev rule - cp -a $src/tools/udev/libsane.rules $fs/etc/udev/rules.d/55-sane.rules - # fix groups/permissions on /var/lock/sane ; add it to scanner group - chmod 775 "$fs/var/lock/sane" - chgrp 96 "$fs/var/lock/sane" + chmod 775 "$fs/var/lock/sane" + chgrp 96 "$fs/var/lock/sane" - # fix hp officejets - echo "hpaio" >> "$fs/etc/sane.d/dll.conf" - + # fix hp officejets + echo "hpaio" >> "$fs/etc/sane.d/dll.conf" } post_install()