From 27e5f711363005f832835e811b18f78aa2d7996f Mon Sep 17 00:00:00 2001 From: TheBrokenRail <17478432+TheBrokenRail@users.noreply.github.com> Date: Thu, 19 Sep 2019 18:21:33 -0400 Subject: [PATCH] Add QuickJS Package (#4204) --- packages/quickjs/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 packages/quickjs/build.sh diff --git a/packages/quickjs/build.sh b/packages/quickjs/build.sh new file mode 100644 index 000000000..74680e662 --- /dev/null +++ b/packages/quickjs/build.sh @@ -0,0 +1,8 @@ +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"