version=5.45 source=(http://prdownloads.sourceforge.net/expect/expect$version.tar.gz) build() { cd expect* cp configure{,.orig} sed 's:/usr/local/bin:/bin:' configure.orig > configure ./configure --prefix=/tools --with-tcl=/tools/lib \ --with-tclinclude=/tools/include make make SCRIPTS="" install }