termux-packages/packages/quickjs/build.sh

9 lines
538 B
Bash
Raw Normal View History

2019-09-20 00:21:33 +02:00
TERMUX_PKG_HOMEPAGE=https://bellard.org/quickjs/
TERMUX_PKG_DESCRIPTION="QuickJS is a small and embeddable Javascript engine"
TERMUX_PKG_LICENSE="MIT"
2020-01-30 21:05:32 +01:00
TERMUX_PKG_VERSION=2020.01.19
2019-09-20 00:21:33 +02:00
TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${TERMUX_PKG_VERSION//./-}.tar.xz
2020-01-30 21:05:32 +01:00
TERMUX_PKG_SHA256=4ae4c20c4ed7c201d72c228d5e8768314950914ba60d759f3df23d59037f2b85
2019-09-20 00:21:33 +02:00
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"