termux-packages/packages/expect/build.sh

20 lines
694 B
Bash
Raw Normal View History

2018-05-19 00:24:34 +02:00
TERMUX_PKG_HOMEPAGE=https://core.tcl.tk/expect/index
2016-04-18 06:37:30 +02:00
TERMUX_PKG_DESCRIPTION="Tool for automating interactive terminal applications"
TERMUX_PKG_LICENSE="Public Domain"
2018-05-19 00:24:34 +02:00
TERMUX_PKG_VERSION=5.45.4
TERMUX_PKG_REVISION=3
2018-05-19 00:24:34 +02:00
TERMUX_PKG_SHA256=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34
2016-04-18 06:37:30 +02:00
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/expect/Expect/${TERMUX_PKG_VERSION}/expect${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="tcl"
TERMUX_PKG_BREAKS="expect-dev"
TERMUX_PKG_REPLACES="expect-dev"
2016-04-18 06:37:30 +02:00
termux_step_pre_configure() {
2016-04-18 06:37:30 +02:00
autoconf
}
termux_step_post_make_install() {
2016-04-18 06:37:30 +02:00
cd $TERMUX_PREFIX/lib
ln -f -s expect${TERMUX_PKG_VERSION}/libexpect${TERMUX_PKG_VERSION}.so .
}