Minify all Lua code
This commit is contained in:
parent
42910c0606
commit
1c1f490527
@ -6,7 +6,8 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-alfred
|
define Package/gluon-alfred
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
@ -23,10 +24,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-alfred/install
|
define Package/gluon-alfred/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-alfred))
|
$(eval $(call BuildPackage,gluon-alfred))
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-authorized-keys
|
define Package/gluon-authorized-keys
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -22,10 +23,11 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-authorized-keys/install
|
define Package/gluon-authorized-keys/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-authorized-keys/postinst
|
define Package/gluon-authorized-keys/postinst
|
||||||
|
@ -9,6 +9,7 @@ PKG_BUILD_DEPENDS := respondd
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-autoupdater
|
define Package/gluon-autoupdater
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -21,8 +22,14 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(call Build/Compile/Default)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/gluon-autoupdater/install
|
define Package/gluon-autoupdater/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/autoupdater.so
|
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/autoupdater.so
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-client-bridge
|
define Package/gluon-client-bridge
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -22,10 +23,11 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-client-bridge/install
|
define Package/gluon-client-bridge/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-client-bridge/postinst
|
define Package/gluon-client-bridge/postinst
|
||||||
|
@ -30,10 +30,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-autoupdater,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-autoupdater,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-autoupdater/install
|
define Package/gluon-config-mode-autoupdater/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-autoupdater,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-autoupdater,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -26,10 +26,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-contact-info,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-contact-info,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-contact-info/install
|
define Package/gluon-config-mode-contact-info/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-contact-info,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-contact-info,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -30,10 +30,12 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-core,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-core,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-core/install
|
define Package/gluon-config-mode-core/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-core,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-core,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -26,10 +26,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-geo-location,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-geo-location,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-geo-location/install
|
define Package/gluon-config-mode-geo-location/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-geo-location,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-geo-location,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -26,10 +26,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-hostname,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-hostname,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-hostname/install
|
define Package/gluon-config-mode-hostname/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-hostname,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-hostname,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -26,10 +26,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-config-mode-mesh-vpn,i18n)
|
$(call GluonBuildI18N,gluon-config-mode-mesh-vpn,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-config-mode-mesh-vpn/install
|
define Package/gluon-config-mode-mesh-vpn/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-config-mode-mesh-vpn,$(1))
|
$(call GluonInstallI18N,gluon-config-mode-mesh-vpn,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-core
|
define Package/gluon-core
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -15,7 +16,6 @@ define Package/gluon-core
|
|||||||
DEPENDS:=+gluon-site +libgluonutil +lua-platform-info +lua-hash +luci-base +luci-lib-jsonc +odhcp6c +firewall
|
DEPENDS:=+gluon-site +libgluonutil +lua-platform-info +lua-hash +luci-base +luci-lib-jsonc +odhcp6c +firewall
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-core/description
|
define Package/gluon-core/description
|
||||||
Gluon community wifi mesh firmware framework: core
|
Gluon community wifi mesh firmware framework: core
|
||||||
endef
|
endef
|
||||||
@ -28,10 +28,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-core/install
|
define Package/gluon-core/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(SED) 's/__GLUON_OPENWRT_FEEDS__/{$(GLUON_OPENWRT_FEEDS:%="%",)}/' $(1)/lib/gluon/upgrade/500-opkg
|
$(SED) 's/__GLUON_OPENWRT_FEEDS__/{$(GLUON_OPENWRT_FEEDS:%="%",)}/' $(1)/lib/gluon/upgrade/500-opkg
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon
|
$(INSTALL_DIR) $(1)/lib/gluon
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-ebtables-filter-multicast
|
define Package/gluon-ebtables-filter-multicast
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-ebtables-filter-ra-dhcp
|
define Package/gluon-ebtables-filter-ra-dhcp
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-ebtables
|
define Package/gluon-ebtables
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-legacy
|
define Package/gluon-legacy
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -26,10 +27,11 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-legacy/install
|
define Package/gluon-legacy/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-legacy/postinst
|
define Package/gluon-legacy/postinst
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-lock-password
|
define Package/gluon-lock-password
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -13,6 +13,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-admin
|
define Package/gluon-luci-admin
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -29,10 +30,12 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-admin,i18n)
|
$(call GluonBuildI18N,gluon-luci-admin,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-admin/install
|
define Package/gluon-luci-admin/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-admin,$(1))
|
$(call GluonInstallI18N,gluon-luci-admin,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-autoupdater
|
define Package/gluon-luci-autoupdater
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -29,10 +30,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-autoupdater,i18n)
|
$(call GluonBuildI18N,gluon-luci-autoupdater,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-autoupdater/install
|
define Package/gluon-luci-autoupdater/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-autoupdater,$(1))
|
$(call GluonInstallI18N,gluon-luci-autoupdater,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-mesh-vpn-fastd
|
define Package/gluon-luci-mesh-vpn-fastd
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -26,10 +27,12 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-mesh-vpn-fastd,i18n)
|
$(call GluonBuildI18N,gluon-mesh-vpn-fastd,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-mesh-vpn-fastd/install
|
define Package/gluon-luci-mesh-vpn-fastd/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-mesh-vpn-fastd,$(1))
|
$(call GluonInstallI18N,gluon-mesh-vpn-fastd,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-node-role
|
define Package/gluon-luci-node-role
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -26,10 +27,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-node-role,i18n)
|
$(call GluonBuildI18N,gluon-luci-node-role,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-node-role/install
|
define Package/gluon-luci-node-role/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-node-role,$(1))
|
$(call GluonInstallI18N,gluon-luci-node-role,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-portconfig
|
define Package/gluon-luci-portconfig
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -29,10 +30,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-portconfig,i18n)
|
$(call GluonBuildI18N,gluon-luci-portconfig,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-portconfig/install
|
define Package/gluon-luci-portconfig/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-portconfig,$(1))
|
$(call GluonInstallI18N,gluon-luci-portconfig,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-private-wifi
|
define Package/gluon-luci-private-wifi
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -26,10 +27,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-private-wifi,i18n)
|
$(call GluonBuildI18N,gluon-luci-private-wifi,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-private-wifi/install
|
define Package/gluon-luci-private-wifi/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-private-wifi,$(1))
|
$(call GluonInstallI18N,gluon-luci-private-wifi,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-theme
|
define Package/gluon-luci-theme
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -10,6 +10,7 @@ include $(GLUONDIR)/include/package.mk
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-luci-wifi-config
|
define Package/gluon-luci-wifi-config
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -26,10 +27,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GluonBuildI18N,gluon-luci-wifi-config,i18n)
|
$(call GluonBuildI18N,gluon-luci-wifi-config,i18n)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-wifi-config/install
|
define Package/gluon-luci-wifi-config/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(call GluonInstallI18N,gluon-luci-wifi-config,$(1))
|
$(call GluonInstallI18N,gluon-luci-wifi-config,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-14
|
define Package/gluon-mesh-batman-adv-14
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -23,10 +24,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-14/install
|
define Package/gluon-mesh-batman-adv-14/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-mesh-batman-adv-14))
|
$(eval $(call BuildPackage,gluon-mesh-batman-adv-14))
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-15
|
define Package/gluon-mesh-batman-adv-15
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -23,10 +24,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-15/install
|
define Package/gluon-mesh-batman-adv-15/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-mesh-batman-adv-15))
|
$(eval $(call BuildPackage,gluon-mesh-batman-adv-15))
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DEPENDS := respondd
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-core
|
define Package/gluon-mesh-batman-adv-core
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -20,9 +21,13 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-mesh-batman-adv-core/install
|
define Build/Compile
|
||||||
$(CP) ./files/* $(1)/
|
$(call Build/Compile/Default)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/gluon-mesh-batman-adv-core/install
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-batman-adv-core.so
|
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-batman-adv-core.so
|
||||||
endef
|
endef
|
||||||
|
@ -8,6 +8,7 @@ PKG_BUILD_DEPENDS := respondd
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-mesh-vpn-fastd
|
define Package/gluon-mesh-vpn-fastd
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
@ -20,9 +21,14 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(call Build/Compile/Default)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/gluon-mesh-vpn-fastd/install
|
define Package/gluon-mesh-vpn-fastd/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-vpn-fastd.so
|
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-vpn-fastd.so
|
||||||
endef
|
endef
|
||||||
|
@ -6,7 +6,8 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-neighbour-info
|
define Package/gluon-neighbour-info
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
@ -29,11 +30,11 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
CFLAGS="$(TARGET_CFLAGS)" CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS)
|
CFLAGS="$(TARGET_CFLAGS)" CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-neighbour-info/install
|
define Package/gluon-neighbour-info/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/gluon-neighbour-info $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/gluon-neighbour-info $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
@ -7,6 +7,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-next-node
|
define Package/gluon-next-node
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -9,6 +9,7 @@ PKG_BUILD_DEPENDS := respondd
|
|||||||
|
|
||||||
include $(GLUONDIR)/include/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-node-info
|
define Package/gluon-node-info
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
CATEGORY:=Gluon
|
CATEGORY:=Gluon
|
||||||
|
@ -5,7 +5,8 @@ PKG_VERSION:=3
|
|||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-radvd
|
define Package/gluon-radvd
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
@ -26,10 +27,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-radvd/install
|
define Package/gluon-radvd/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-radvd))
|
$(eval $(call BuildPackage,gluon-radvd))
|
||||||
|
@ -5,7 +5,8 @@ PKG_VERSION:=1
|
|||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
|
||||||
define Package/gluon-respondd
|
define Package/gluon-respondd
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
@ -19,9 +20,14 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(call Build/Compile/Default)
|
||||||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/gluon-respondd/install
|
define Package/gluon-respondd/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/respondd.so
|
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/respondd.so
|
||||||
endef
|
endef
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user