aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/expect.sh
blob: 55d11373dcb8dfc89b2793ce09cfcfb83fc52b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

./configure --prefix=/usr \
            --with-tcl=/usr/lib \
            --enable-shared \
            --mandir=/usr/share/man \
            --with-tclinclude=/usr/include

make
make -j1 install
ln -svf expect"${VERSION}"/libexpect"${VERSION}".so /usr/lib