termux-packages/packages/expect/build.sh

16 lines
520 B
Bash
Raw Normal View History

2016-04-18 06:37:30 +02:00
TERMUX_PKG_HOMEPAGE=http://expect.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Tool for automating interactive terminal applications"
TERMUX_PKG_VERSION=5.45
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/expect/Expect/${TERMUX_PKG_VERSION}/expect${TERMUX_PKG_VERSION}.tar.gz
2016-04-18 06:52:30 +02:00
TERMUX_PKG_DEPENDS="libutil, tcl"
2016-04-18 06:37:30 +02:00
termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
autoconf
}
termux_step_post_make_install () {
cd $TERMUX_PREFIX/lib
ln -f -s expect${TERMUX_PKG_VERSION}/libexpect${TERMUX_PKG_VERSION}.so .
}