commit c9aac8e790f213b06d1544f35b40baf589d98fe3 Author: Juergen Daubert <jue@jue.li> Date: Fri Jan 18 13:21:04 2008 +0100 sane: fixed udev rules, ticket #210 diff --git a/sane/Pkgfile b/sane/Pkgfile index a59df2b..104d5a9 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} }