|
|
@ -1,24 +1,30 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.tcl.tk/ |
|
|
|
TERMUX_PKG_DESCRIPTION="Powerful but easy to learn dynamic programming language" |
|
|
|
TERMUX_PKG_DEPENDS="libsqlite" |
|
|
|
_MAJOR_VERSION=8.6 |
|
|
|
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.6 |
|
|
|
TERMUX_PKG_REVISION=5 |
|
|
|
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/tcl/Tcl/${TERMUX_PKG_VERSION}/tcl${TERMUX_PKG_VERSION}-src.tar.gz |
|
|
|
TERMUX_PKG_SHA256=a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07 |
|
|
|
TERMUX_PKG_VERSION=8.6.7 |
|
|
|
TERMUX_PKG_SHA256=7c6b8f84e37332423cfe5bae503440d88450da8cc1243496249faa5268026ba5 |
|
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tcl/Tcl/${TERMUX_PKG_VERSION}/tcl${TERMUX_PKG_VERSION}-src.tar.gz |
|
|
|
TERMUX_PKG_FOLDERNAME=tcl$TERMUX_PKG_VERSION |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="tcl_cv_strtod_buggy=ok tcl_cv_strstr_unbroken=ok" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_strtod=yes tcl_cv_strtod_unbroken=ok" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_strtoul=yes tcl_cv_strtoul_unbroken=ok" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_memcmp=yes ac_cv_func_memcmp_working=yes" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --mandir=$TERMUX_PREFIX/share/man --enable-man-symlinks" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-rpath" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
|
ac_cv_func_memcmp_working=yes |
|
|
|
ac_cv_func_memcmp=yes |
|
|
|
ac_cv_func_strtod=yes |
|
|
|
ac_cv_func_strtoul=yes |
|
|
|
tcl_cv_strstr_unbroken=ok |
|
|
|
tcl_cv_strtod_buggy=ok |
|
|
|
tcl_cv_strtod_unbroken=ok |
|
|
|
tcl_cv_strtoul_unbroken=ok |
|
|
|
--disable-rpath |
|
|
|
--enable-man-symlinks |
|
|
|
--mandir=$TERMUX_PREFIX/share/man |
|
|
|
" |
|
|
|
|
|
|
|
termux_step_pre_configure () { |
|
|
|
TERMUX_PKG_SRCDIR=$TERMUX_PKG_SRCDIR/unix |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_make_install () { |
|
|
|
local _MAJOR_VERSION=${TERMUX_PKG_VERSION:0:3} |
|
|
|
cd $TERMUX_PREFIX/bin |
|
|
|
ln -f -s tclsh$_MAJOR_VERSION tclsh |
|
|
|
|
|
|
|