termux-packages/packages/calc/build.sh
Henrik Grimler c44db19566
calc: pass LONG_BITS in TERMUX_PKG_EXTRA_MAKE ARGS
That one was missed in previous f12977efdf ("calc: patch Makefile
instead of overriding a lot of variables").

Also unset LDCONFIG variable, we don't need a ldconfig step.
2022-02-13 08:44:06 +01:00

14 lines
637 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.isthe.com/chongo/tech/comp/calc/
TERMUX_PKG_DESCRIPTION="Arbitrary precision console calculator"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.14.0.14
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/lcn2/calc/releases/download/v$TERMUX_PKG_VERSION/calc-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=f7727835a103d9712c571958e924e9c254bd148f08eb4348019bc34f8e71c55d
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs, readline"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="LONG_BITS=$TERMUX_ARCH_BITS"
TERMUX_MAKE_PROCESSES=1