bc: Update from 1.06.95 to 1.07.1

This commit is contained in:
Fredrik Fornwall 2017-05-16 21:57:57 +02:00
parent 7737abb77c
commit ab8040242a

View File

@ -1,11 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/bc/ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/bc/
TERMUX_PKG_DESCRIPTION="Arbitrary precision numeric processing language" TERMUX_PKG_DESCRIPTION="Arbitrary precision numeric processing language"
TERMUX_PKG_VERSION=1.06.95 TERMUX_PKG_VERSION=1.07.1
TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/bc/bc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SRCURL=https://alpha.gnu.org/gnu/bc/bc-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a
TERMUX_PKG_SHA256=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
TERMUX_PKG_DEPENDS="readline,flex" TERMUX_PKG_DEPENDS="readline,flex"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-readline TERMUX_PKG_HOSTBUILD=true
--mandir=$TERMUX_PREFIX/share/man TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--infodir=$TERMUX_PREFIX/share/info --infodir=$TERMUX_PREFIX/share/info
--mandir=$TERMUX_PREFIX/share/man
--with-readline
" "
termux_step_pre_configure() {
cp $TERMUX_PKG_HOSTBUILD_DIR/bc/libmath.h \
$TERMUX_PKG_SRCDIR/bc/libmath.h
touch -d "next hour" $TERMUX_PKG_SRCDIR/bc/libmath.h
}