mkdir -p ${INSTALL_ROOT}/etc/sane.d               &&
default_install &&
cd $SOURCE_DIRECTORY  &&
cp include/sane/sanei*.h ${INSTALL_ROOT}/usr/include/sane         &&
if spell_ok  hotplug;then
mkdir -p $INSTALL_ROOT/etc/hotplug/usb &&
install_config_file  tools/hotplug/libsane.usermap  \
                     $INSTALL_ROOT/etc/hotplug/usb/libsane.usermap  &&
install_config_file  tools/hotplug/libusbscanner  \
                     $INSTALL_ROOT/etc/hotplug/usb/libusbscanner 
fi  &&
if spell_ok  udev;then
install_config_file tools/udev/libsane.rules \
                     $INSTALL_ROOT/etc/udev/rules.d/20-libsane.rules
fi  &&
mkdir -p -m 1770 /var/lock/sane/ &&
chown root:users /var/lock/sane/
