#!/bin/bash set -e ./configure --prefix=/usr \ --with-tcl=/usr/lib \ --enable-shared \ --mandir=/usr/share/man \ --with-tclinclude=/usr/include \ "$([ "$(uname -m)" = aarch64 ] && echo aarch64-unknown-linux-gnu)" && make && make -j1 install && ln -svf expect"${VERSION}"/libexpect"${VERSION}".so /usr/lib