up speedtest2.14b

This commit is contained in:
SirPdboy 2021-09-29 00:30:26 +08:00 committed by GitHub
parent b12eb2464c
commit 5ff655c4d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,15 +19,20 @@ define Package/$(PKG_NAME)
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LuCI Support for netspeedtest
DEPENDS:=+python3 +iperf3
DESCRIPTION:=LuCI support Network speed test intranet and Extranet
PKGARCH:=all
DEPENDS:=+python3 +iperf3
DESCRIPTION:=LuCI support Network speed test intranet and Extranet
PKGARCH:=all
endef
define Package/$(PKG_NAME)/description
Luci Support for netspeedtest.
endef
define Build/Prepare
$(foreach po,$(wildcard ${CURDIR}/po/zh-cn/*.po), \
po2lmo $(po) $(PKG_BUILD_DIR)/$(patsubst %.po,%.lmo,$(notdir $(po)));)
endef
define Build/Compile
endef
@ -41,8 +46,10 @@ define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/
cp -pR ./root/* $(1)/
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
po2lmo ./po/zh-cn/netspeedtest.po $(1)/usr/lib/lua/luci/i18n/netspeedtest.lmo
$(INSTALL_DATA) $(PKG_BUILD_DIR)/netspeedtest.lmo $(1)/usr/lib/lua/luci/i18n/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature