From fd01f0a4b869355e7cd4dd0f0ef091a006ded33a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Mar 2026 10:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20Sync=202026-03-06=2010:53:39?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quickjs/Makefile | 65 ------------------------------------------------ quickjs/test.sh | 5 ---- 2 files changed, 70 deletions(-) delete mode 100644 quickjs/Makefile delete mode 100644 quickjs/test.sh diff --git a/quickjs/Makefile b/quickjs/Makefile deleted file mode 100644 index ade39b5b..00000000 --- a/quickjs/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=quickjs -PKG_VERSION:=2025.09.13 -# The source versioning structure is somewhat bizarre as the file name -# might differ from the directory name and the version. -PKG_SRC_VERSION:=2025-09-13 -PKG_SRC_VERSION_REV:=2 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_SRC_VERSION)$(if $(PKG_SRC_VERSION_REV),-$(PKG_SRC_VERSION_REV)).tar.xz -PKG_SOURCE_URL:=https://bellard.org/quickjs/ -PKG_HASH:=skip - -PKG_MAINTAINER:=George Sapkin -PKG_LICENSE:=MIT -PKG_LICENSE_FILES:=LICENSE -PKG_CPE_ID:=cpe:/a:quickjs_project:quickjs - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SRC_VERSION) -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -# quickjs uses the same flags both for host and target compiler, so we need -# to separate these and build host and target parts separately. -HOST_MAKE_FLAGS := \ - $(MAKE_FLAGS) \ - CC="$(HOSTCC_NOCACHE)" \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE -DCONFIG_VERSION=\\\"$(PKG_SRC_VERSION)\\\"" \ - CROSS_PREFIX="$(TARGET_CROSS)" - -TARGET_MAKE_FLAGS := \ - $(MAKE_FLAGS) \ - CC="$(TARGET_CC)" \ - CFLAGS_OPT="$(TARGET_CFLAGS) -D_GNU_SOURCE -DCONFIG_VERSION=\\\"$(PKG_SRC_VERSION)\\\"" \ - EXTRA_LIBS="-latomic" \ - QJSC=./host-qjsc - -define Package/quickjs - SECTION:=lang - CATEGORY:=Languages - TITLE:=QuickJS JavaScript engine - URL:=https://bellard.org/quickjs - DEPENDS:=+libatomic -endef - -define Package/quickjs/description - QuickJS is a small and embeddable JavaScript engine. It supports the - ES2023 specification including modules, asynchronous generators, proxies - and BigInt. -endef - -define Build/Compile - $(INSTALL_DIR) $(PKG_BUILD_DIR)/.obj - $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(HOST_MAKE_FLAGS) host-qjsc - $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(TARGET_MAKE_FLAGS) qjs -endef - -define Package/quickjs/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/qjs $(1)/usr/bin -endef - -$(eval $(call BuildPackage,quickjs)) diff --git a/quickjs/test.sh b/quickjs/test.sh deleted file mode 100644 index 2154ae50..00000000 --- a/quickjs/test.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -if [ "$1" = 'quickjs' ]; then - qjs --help | grep -F "${PKG_VERSION//./-}" -fi