diff options
author | Juergen Daubert <jue@jue.li> | 2008-01-18 13:21:04 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2008-01-18 13:21:04 +0100 |
commit | c9aac8e790f213b06d1544f35b40baf589d98fe3 (patch) | |
tree | fa83f93f6a11f627f33e25196ee70ea3c0abeab1 /sane | |
parent | 2f7cc681808e01b55db8eea7c7beb32eebac7d46 (diff) | |
download | opt-c9aac8e790f213b06d1544f35b40baf589d98fe3.tar.gz opt-c9aac8e790f213b06d1544f35b40baf589d98fe3.tar.xz |
sane: fixed udev rules, ticket #210
Diffstat (limited to 'sane')
-rw-r--r-- | sane/Pkgfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sane/Pkgfile b/sane/Pkgfile index a59df2b48..104d5a959 100644 --- a/sane/Pkgfile +++ b/sane/Pkgfile @@ -5,7 +5,7 @@ name=sane version=1.0.18 -release=2 +release=3 source=(ftp://ftp2.sane-project.org/pub/$name/$name-backends-$version/$name-backends-$version.tar.gz) build () { @@ -18,14 +18,15 @@ build () { --enable-locking \ --with-group=scanner make - make DESTDIR=$PKG install + make -j1 DESTDIR=$PKG install install -d $PKG/etc/udev/rules.d install -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d + sed -i 's/usb_device/usb/' $PKG/etc/udev/rules.d/libsane.rules chown root:root $PKG/{var,var/lock} chmod 0755 $PKG/var chmod 1777 $PKG/var/lock - + rm -r $PKG/usr/{doc,share} } |