termux-packages/packages/quickjs/build.sh

22 lines
670 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"
TERMUX_PKG_MAINTAINER="@termux"
2021-10-17 00:08:09 +02:00
_YEAR=2021
_MONTH=03
_DAY=27
TERMUX_PKG_VERSION=1:${_YEAR}${_MONTH}${_DAY}
2021-10-10 17:17:14 +02:00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${_YEAR}-${_MONTH}-${_DAY}.tar.xz
2021-10-17 00:08:09 +02:00
TERMUX_PKG_SHA256=a45bface4c3379538dea8533878d694e289330488ea7028b105f72572fe7fe1a
2019-09-20 00:21:33 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
2021-10-17 00:08:09 +02:00
TERMUX_PKG_NO_STATICSPLIT=true
2021-10-10 17:17:14 +02:00
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
"