CWD=`pwd` cd /tmp tar xzvf $CWD/expect-5.28.tar.gz cd expect-5.28 mkdir -p /usr/doc/expect-5.28 cp -a FAQ HISTORY INSTALL NEWS README /usr/doc/expect-5.28 chown root.root /usr/doc/expect-5.28/* cat $CWD/expect-5.28.diff | patch autoconf ./configure --prefix=/usr --with-tclconfig=/usr/lib \ --with-tclinclude=/tmp/tcl8.0.5/generic make make install make clean ./configure --prefix=/usr --with-tclconfig=/usr/lib \ --with-tclinclude=/tmp/tcl8.0.5/generic --enable-shared make make install