# fss-0002

main:
  cp -v ${TC}lib/libtclstub*.a /lib/
  ./configure $CONF  --with-x=no --enable-threads --enable-64bit --with-tcl=${TC}lib --with-tclinclude=${TC}include
  sed -i -e 's|tcl.h|tclInt.h|' exp_inter.c
  make
  make SCRIPTS="" install
  chgrp e_tcl /bin/expect
  chmod o-rx /bin/expect
  mv -v /lib/expect* /lib/tcl?.?/
  rm -Rf /lib/libtclstub*.a
  rm -Rf /lib/libexpect*.a /lib/libt{cl,k}stub*.a
  rm -Rf /bin/{timed-run,timed-read,ftp-rfc,autopasswd,lpunlock,weather,passmass,rftp,kibitz,rlogin-cwd,xpstat,tkpasswd,dislocate,xkibitz,tknewsbiff,unbuffer,mkpasswd,cryptdir,decryptdir,autoexpect,multixterm}
  chgrp e_tcl -R /lib/libexpect*.so /lib/tcl?.?/expect*
  chmod o-rx -R /lib/libexpect*.so /lib/tcl?.?/expect*
  find /lib/tcl?.?/ -type d -exec chmod g+s '{}' ';'
  tkis_handle_documentation man standard /man
