# fss-0002

main:
  ./configure $CONF 
  make
  make install
  if [ -d /lib/gimp/2.0/plug-ins ] ; then ln -vsf ../../../../bin/xsane /lib/gimp/2.0/plug-ins/ ; fi
  chgrp e_graphic -R /bin/xsane /etc/gimp/ /share/sane /etc/sane.d/
  chmod o-rx -R /bin/xsane /etc/gimp/ /share/sane /etc/sane.d/
  find /etc/gimp/ /share/sane /etc/sane.d/ -type d -exec chmod g+s '{}' ';'
  rm -Rf /share/locale
  tkis_handle_documentation doc applications /share/sane/xsane/doc/
  rm -f /share/applications/xsane.desktop
  cp -v ${PR}scanner_tool.desktop /share/applications/
