PKG_NAME:=luci
PKG_RELEASE:=1
+PKG_BUILD_PARALLEL:=0
+
ifeq ($(USELOCAL),1)
PKG_VERSION:=0.10+svn
else
URL:=http://luci.subsignal.org/
MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
SUBMENU:=Libraries
- DEPENDS:=+lua
+ DEPENDS:=+lua +libuci-lua
TITLE:=LuCI core libraries
endef
LUCI_BUILD_PACKAGES += luci-lib-$(1)
endef
-define Package/luci-lib-lucid/extra-install
- $(call Package/luci/install/template,$(1),libs/lucid-http)
-endef
-
define Package/luci-lib-web/conffiles
/etc/config/luci
endef
$(eval $(call library,ipkg,LuCI IPKG/OPKG call abstraction library))
$(eval $(call library,json,LuCI JSON library))
$(eval $(call library,lmo,LuCI LMO I18N library))
-$(eval $(call library,luanet,LuCI luanet library,+libiw))
$(eval $(call library,lucid,LuCId Full-Stack Webserver,+luci-lib-nixio +luci-lib-web +luci-lib-px5g))
+$(eval $(call library,lucid-http,LuCId HTTP Backend,+luci-lib-lucid))
+$(eval $(call library,lucid-rpc,LuCId RPC Backend,+luci-lib-lucid))
$(eval $(call library,nixio,NIXIO POSIX library,+PACKAGE_luci-lib-nixio_openssl:libopenssl +PACKAGE_luci-lib-nixio_cyassl:libcyassl))
$(eval $(call library,px5g,RSA/X.509 Key Generator (required for LuCId SSL support),+luci-lib-nixio))
-$(eval $(call library,sys,LuCI Linux/POSIX system library,+libiwinfo))
+$(eval $(call library,sys,LuCI Linux/POSIX system library))
$(eval $(call library,web,MVC Webframework,+luci-lib-sys +luci-lib-nixio +luci-lib-core +luci-sgi-cgi +luci-lib-lmo))
$(eval $(call library,uvl,UVL - UCI Validation Layer,+luci-lib-sys +luci-lib-core))
define Package/luci-app-splash/conffiles
/etc/config/luci_splash
+/usr/lib/luci-splash/splashtext.html
endef
define Package/luci-app-statistics/conffiles
$(eval $(call application,voice-core,LuCI Voice Software (Core)))
-$(eval $(call application,voide-diag,LuCI Voice Software (Diagnostics),\
+$(eval $(call application,voice-diag,LuCI Voice Software (Diagnostics),\
+luci-app-voice-core +luci-app-diag-devinfo))
$(eval $(call application,livestats,LuCI Realtime Statistics,\
+luci-mod-rpc))
-$(eval $(call application,asterisk,LuCI Support for Asterisk PBX,\
- @BROKEN +PACKAGE_luci-app-asterisk:asterisk14-xip-core))
-
$(eval $(call application,polipo,LuCI Support for the Polipo Proxy,\
+PACKAGE_luci-app-polipo:polipo))
+PACKAGE_luci-app-vnstat:vnstat \
+PACKAGE_luci-app-vnstat:vnstati))
+$(eval $(call application,radvd,LuCI Support for Radvd,\
+ +luci-mod-admin-full +PACKAGE_luci-app-radvd:radvd))
+
+$(eval $(call application,lqtapifoss,Lantiq voip))
### Server Gateway Interfaces ###
define sgi
SUBMENU:=Themes
TITLE:=$(if $(2),$(2),LuCI $(1) theme)
MAINTAINER:=$(if $(3),$(3),LuCI Development Team <luci@lists.subsignal.org>)
- DEPENDS:=$(ifneq $(1),base,+luci-theme-base) $(4)
- $(if $(5),DEFAULT:=y if PACKAGE_luci-lib-core)
+ DEPENDS:=$(if $(filter-out base,$(1)),+luci-theme-base) $(4)
+ $(if $(5),DEFAULT:=PACKAGE_luci-lib-core)
endef
define Package/luci-theme-$(1)/install
$(eval $(call theme,base,Common base for all themes,,+luci-lib-web))
$(eval $(call theme,openwrt,OpenWrt.org (default),,,1))
-$(eval $(call theme,openwrtlight,OpenWrt.org - light variant without images))
$(eval $(call theme,fledermaus,Fledermaus Theme))
$(eval $(call theme,freifunk,alternative Freifunk Theme,\
$(eval $(call theme,freifunk-hannover,Freifunk Hannover Theme,\
Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>))
+$(eval $(call theme,freifunk-generic,Freifunk Generic Theme,\
+ Manuel Munz <freifunk-at-somakoma-dot-de>))
### Translations ###
define translation
$(eval $(call collection,,\
Standard OpenWrt set including full and mini admin and the standard theme,\
- +uhttpd +luci-mod-admin-full +luci-mod-admin-mini +luci-theme-openwrt \
- +luci-app-firewall +luci-app-initmgr))
+ +uhttpd +luci-mod-admin-full +luci-theme-openwrt +luci-app-firewall \
+ +luci-app-initmgr))
$(eval $(call collection,ssl,\
Standard OpenWrt set with HTTPS support,\
- +uhttpd +uhttpd-mod-tls +px5g +luci-mod-admin-full +luci-mod-admin-mini \
- +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr))
-
-$(eval $(call collection,medium,\
- Medium package set using only admin full and a theme without graphics,\
- +uhttpd +luci-mod-admin-full +luci-theme-openwrtlight))
+ +uhttpd +uhttpd-mod-tls +px5g +luci-mod-admin-full +luci-theme-openwrt \
+ +luci-app-firewall +luci-app-initmgr))
$(eval $(call collection,light,\
- Minimum package set using only admin mini and a theme without graphics,\
- +uhttpd +luci-mod-admin-mini +luci-theme-openwrtlight))
+ Minimum package set using only admin mini and the standard theme,\
+ +uhttpd +luci-mod-admin-mini +luci-theme-openwrt))
### Compile ###