brother-brscan3: modified template file and deleted udev rule
The template file avoid the dependencies on brother-xxxx-lpr and brother-xxxx-cupswrapper so anyone with a brother printer/scanner could install it and get the scanner part of the printer work. The udev rule create a problem with the printer part so it is moved in brother-xxxx-cupswrapper package. A note in the Wiki page explain the needed configuration step to make the scanner working for all users Regards Carlo - Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
243274f5b4
commit
4c9a4c4445
|
@ -1,5 +0,0 @@
|
||||||
# This file use the libsane_matched routine in 53-sane.rules
|
|
||||||
|
|
||||||
# For Brother Brscan3
|
|
||||||
ATTR{idVendor}=="04f9", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'brother-brscan3'
|
# Template file for 'brother-brscan3'
|
||||||
pkgname=brother-brscan3
|
pkgname=brother-brscan3
|
||||||
version=0.2.11
|
version=0.2.11
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||||
homepage="http://support.brother.com/g/b/index.aspx"
|
homepage="http://support.brother.com/g/b/index.aspx"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
short_desc=" Scanner driver for the brother DCP-197C printer/scanner"
|
short_desc=" Scanner driver for the brother DCP-197C printer/scanner"
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
makedepends="brother-dcp197c-lpr brother-dcp197c-cupswrapper cups sane"
|
makedepends="sane-devel"
|
||||||
depends="${makedepends}"
|
depends="${makedepends}"
|
||||||
create_wksrc=yes
|
create_wksrc=yes
|
||||||
|
|
||||||
|
@ -40,5 +40,4 @@ do_install(){
|
||||||
ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so
|
ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so
|
||||||
vmkdir /opt/Brother
|
vmkdir /opt/Brother
|
||||||
vcopy "./usr/local/Brother/*" /opt/Brother/
|
vcopy "./usr/local/Brother/*" /opt/Brother/
|
||||||
vinstall ${FILESDIR}/60-brother-brscan3.rules 644 usr/lib/udev/rules.d
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue