define Package/luci
$(call Package/luci/template)
MENU:=1
- DEPENDS:=+lua +luaposix +luci-addons
+ DEPENDS:=+lua +luaposix
endef
-define Package/luci/conffiles
+define Package/luci/install
+ $(call Package/luci/install/template,$(1),core)
+endef
+
+
+### Web Packages ###
+define Package/luci-web
+ $(call Package/luci/template)
+ DEPENDS:=luci +luci-addons
+ TITLE:=LuCI - Webframework
+endef
+
+define Package/luci-web/conffiles
/etc/config/luci
endef
-define Package/luci/install
- $(call Package/luci/install/template,$(1),core)
+define Package/luci-web/install
+ $(call Package/luci/install/template,$(1),web)
$(call Package/luci/install/template,$(1),themes/fledermaus)
endef
+
### Community Packages ###
define Package/luci-ff-halle
define Package/luci-mod-admin-core
$(call Package/luci/template)
- DEPENDS:=luci
+ DEPENDS:=luci +luci-web
TITLE:=Core administrative pages
endef
tpl.viewns.uploadctrl = luci.http.dispatcher_upload()
tpl.viewns.media = luci.config.main.mediaurlbase
tpl.viewns.resource = luci.config.main.resourcebase
-
+
+ -- Load default translation
+ require("luci.i18n").loadc("default")
+
if c and type(c.target) == "function" then
dispatched = c