# fss-0002

main:
  sed -i -e 's|\-DUSE_NLS=1||' configure
  ./configure $CONF 
  sed -i -e 's|^DEFAULTDEVICE[[:space:]]*=[[:space:]]*cdrom|DEFAULTDEVICE = /dev/cdrom0|g' Makefile
  make
  make install
  chgrp e_cdrom /bin/{eject,volname}
  chmod o-rx /bin/{eject,volname}
  rm -Rf /usr
  cp -v ${PR}eject_cdrom.desktop /share/applications/
  cp -v ${PR}close_cdrom.desktop /share/applications/
