gluon-firmware/package/gluon-web/Makefile

31 lines
572 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-web
PKG_VERSION:=1
GLUON_PKG_MAKE:=1
PKG_INSTALL:=1
include ../gluon.mk
define Package/gluon-web
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Minimal Lua web framework derived from LuCI
DEPENDS:=+lua-jsonc +luci-lib-nixio
endef
define lang-config
config GLUON_WEB_LANG_$(1)
bool "$(GLUON_LANG_$(1)) language support for gluon-web"
depends on PACKAGE_gluon-web
endef
define Package/gluon-web/config
$(foreach lang,$(GLUON_SUPPORTED_LANGS),$(call lang-config,$(lang)))
endef
$(eval $(call BuildPackageGluon,gluon-web))