eth0s/toolchain/09-expect

16 lines
368 B
Text
Raw Normal View History

name=expect
version=5.45.4
source=(https://prdownloads.sourceforge.net/expect/expect$version.tar.gz)
2018-12-01 00:12:45 +08:00
build() {
cd ${name}${version}
2018-12-01 00:12:45 +08:00
cp -v configure{,.orig}
sed 's:/usr/local/bin:/bin:' configure.orig > configure
./configure --prefix=/tools \
--with-tcl=/tools/lib \
--with-tclinclude=/tools/include
make
2018-12-01 00:12:45 +08:00
make SCRIPTS="" install
}