# fss-0002

main:
  cp -v ${TC}lib/libt{cl,k}stub*.a /lib/
  ./configure $CONF --with-tk=${TC}lib --enable-threads --enable-64bit  --with-tcl=${TC}lib --with-tclinclude=${TC}include $TARGET
  sed -i -e 's|tcl.h|tclInt.h|' exp_inter.c
  make
  make SCRIPTS="" install
  chgrp e_tcl /bin/expect
  chgrp e_tk /bin/expectk
  cp -vR /lib/expect*/ /lib/tcl?.?/
  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
  rm -Rf /lib/expect*/
  tkis_handle_documentation man xorg /man
