termux-packages/packages/quickjs/build.sh
2019-09-20 01:21:33 +03:00

9 lines
538 B
Bash

TERMUX_PKG_HOMEPAGE=https://bellard.org/quickjs/
TERMUX_PKG_DESCRIPTION="QuickJS is a small and embeddable Javascript engine"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=2019.09.18
TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${TERMUX_PKG_VERSION//./-}.tar.xz
TERMUX_PKG_SHA256=ae4395d3f45045f920069e6c203ddb3fc3e549ce8fa3c429e696880cff010575
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="CROSS_PREFIX=${TERMUX_HOST_PLATFORM}- CONFIG_CLANG=y CONFIG_DEFAULT_AR=y -W run-test262 -W run-test262-bn prefix=$TERMUX_PREFIX"