termux-packages/packages/quickjs/build.sh

12 lines
583 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"
_YEAR=2020
2020-04-15 21:37:34 +02:00
_MONTH=04
_DAY=12
TERMUX_PKG_VERSION=1:${_YEAR}${_MONTH}${_DAY}
TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${_YEAR}-${_MONTH}-${_DAY}.tar.xz
2020-04-15 21:37:34 +02:00
TERMUX_PKG_SHA256=22b15f2cc910289821379dc8d314d35ef492f6d69d4419c9bcb1b2263e9d71c8
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"