2020-08-09 20:48:02 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://wren.io/
|
2020-08-23 18:03:01 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Small, fast, class-based concurrent scripting language interpreter"
|
2019-09-08 15:04:48 +02:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-11-20 07:25:01 +01:00
|
|
|
TERMUX_PKG_VERSION=0.4.0
|
2022-01-10 15:33:21 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-08-23 18:03:01 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/wren-lang/wren-cli/archive/$TERMUX_PKG_VERSION.tar.gz
|
2021-11-20 07:25:01 +01:00
|
|
|
TERMUX_PKG_SHA256=fafdc5d6615114d40de3956cd3a255e8737dadf8bd758b48bac00db61563cb4c
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-08-23 18:03:01 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libuv"
|
2019-09-08 15:04:48 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2020-08-09 19:12:33 +02:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
local QUIET_BUILD=
|
|
|
|
if [ "$TERMUX_QUIET_BUILD" = true ]; then
|
|
|
|
QUIET_BUILD="-s"
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd projects/make
|
2020-08-09 20:06:54 +02:00
|
|
|
if [ "$TERMUX_ARCH" = i686 ] || [ "$TERMUX_ARCH" = arm ]; then
|
|
|
|
RELEASE=release_32bit
|
|
|
|
else
|
|
|
|
RELEASE=release_64bit
|
|
|
|
fi
|
|
|
|
make -j $TERMUX_MAKE_PROCESSES $QUIET_BUILD config=${RELEASE}
|
2020-08-09 19:12:33 +02:00
|
|
|
}
|
2019-09-08 15:04:48 +02:00
|
|
|
|
|
|
|
termux_step_make_install() {
|
2020-08-23 18:03:01 +02:00
|
|
|
install -Dm700 "$TERMUX_PKG_SRCDIR"/bin/wren_cli \
|
2019-09-08 15:04:48 +02:00
|
|
|
"$TERMUX_PREFIX"/bin/wren
|
|
|
|
}
|