Merge Mainline

This commit is contained in:
CN_SZTL 2020-12-27 00:10:32 +08:00
commit ee155bad4c
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,48 @@
#
# Copyright (C) 2020 CTCGFW Project-OpenWrt
# <https://project-openwrt.eu.org>
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=quickjs
PKG_VERSION:=2020-11-08
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://bellard.org/quickjs/
PKG_HASH:=2e9d63dab390a95ed365238f21d8e9069187f7ed195782027f0ab311bb64187b
PKG_MAINTAINER:=CN_SZTL <cnsztl@project-openwrt.eu.org>
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/quickjs
SECTION:=lib
CATEGORY:=Libraries
URL:=https://bellard.org/quickjs
TITLE:=A small and embeddable Javascript engine.
DEPENDS:=+libatomic +libpthread
endef
define Package/quickjs/description
QuickJS is a small and embeddable Javascript engine. It supports the ES2020 specification including modules, asynchronous generators, proxies and BigInt.
It optionally supports mathematical extensions such as big decimal floating point numbers (BigDecimal), big binary floating point numbers (BigFloat) and operator overloading.
endef
MAKE_FLAGS += \
QJSC_CC="$(HOSTCC_NOCACHE)" \
CROSS_PREFIX="$(TARGET_CROSS)"
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/quickjs $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/local/include/quickjs $(1)/usr/include
endef
$(eval $(call BuildPackage,quickjs))

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pdnsd
PKG_VERSION:=1.2.9b-par
PKG_RELEASE=:a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/shadowsocks/pdnsd.git