mirror of
https://github.com/sirpdboy/sirpdboy-package.git
synced 2025-01-08 11:57:57 +08:00
up speedtest2.14b
This commit is contained in:
parent
b12eb2464c
commit
5ff655c4d9
@ -19,15 +19,20 @@ define Package/$(PKG_NAME)
|
|||||||
CATEGORY:=LuCI
|
CATEGORY:=LuCI
|
||||||
SUBMENU:=3. Applications
|
SUBMENU:=3. Applications
|
||||||
TITLE:=LuCI Support for netspeedtest
|
TITLE:=LuCI Support for netspeedtest
|
||||||
DEPENDS:=+python3 +iperf3
|
DEPENDS:=+python3 +iperf3
|
||||||
DESCRIPTION:=LuCI support Network speed test intranet and Extranet
|
DESCRIPTION:=LuCI support Network speed test intranet and Extranet
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/description
|
define Package/$(PKG_NAME)/description
|
||||||
Luci Support for netspeedtest.
|
Luci Support for netspeedtest.
|
||||||
endef
|
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
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -41,8 +46,10 @@ define Package/$(PKG_NAME)/install
|
|||||||
$(INSTALL_DIR) $(1)/
|
$(INSTALL_DIR) $(1)/
|
||||||
cp -pR ./root/* $(1)/
|
cp -pR ./root/* $(1)/
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user