summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-26 17:50:32 +0000
committerSteven Barth <steven@midlink.org>2008-08-26 17:50:32 +0000
commitdf40e4df5e3485d1d70548b420e02b81aa61e60b (patch)
tree9cb095e2733430076ac1611787e6058c45901b29 /contrib/package
parent05b30bba2adf9974378fc484273b709c55ebc011 (diff)
libs/json: Completed JSON library
modules/rpc: Added experimental JSON-RPC API
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/luci/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 1cb3a79a6f..e8a1d3698d 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -187,6 +187,16 @@ define Package/luci-ipkg/install
endef
+define Package/luci-json
+ $(call Package/luci/libtemplate)
+ TITLE:=LuCI JSON Library
+endef
+
+define Package/luci-json/install
+ $(call Package/luci/install/template,$(1),libs/json)
+endef
+
+
define Package/luci-sys
$(call Package/luci/libtemplate)
TITLE:=LuCI Linux/POSIX system library
@@ -354,6 +364,17 @@ define Package/luci-admin-full/install
endef
+define Package/luci-admin-rpc
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-json
+ TITLE:=LuCI RPC - JSON-RPC API
+endef
+
+define Package/luci-admin-rpc/install
+ $(call Package/luci/install/template,$(1),modules/rpc)
+endef
+
+
define Package/luci-mod-freifunk
$(call Package/luci/fftemplate)
DEPENDS:=+luci-admin-full
@@ -607,6 +628,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
PKG_SELECTED_MODULES+=libs/ipkg
endif
+ifneq ($(CONFIG_PACKAGE_luci-json),)
+ PKG_SELECTED_MODULES+=libs/json
+endif
ifneq ($(CONFIG_PACKAGE_luci-uci),)
PKG_SELECTED_MODULES+=libs/uci
endif
@@ -649,6 +673,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
PKG_SELECTED_MODULES+=modules/admin-full
endif
+ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
+ PKG_SELECTED_MODULES+=modules/rpc
+endif
ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
PKG_SELECTED_MODULES+=modules/freifunk
endif
@@ -733,6 +760,7 @@ $(eval $(call BuildPackage,luci-cbi))
$(eval $(call BuildPackage,luci-fastindex))
$(eval $(call BuildPackage,luci-http))
$(eval $(call BuildPackage,luci-ipkg))
+$(eval $(call BuildPackage,luci-json))
$(eval $(call BuildPackage,luci-uci))
$(eval $(call BuildPackage,luci-sys))
$(eval $(call BuildPackage,luci-web))
@@ -749,6 +777,7 @@ $(eval $(call BuildPackage,luci-ff-augsburg))
$(eval $(call BuildPackage,luci-admin-core))
$(eval $(call BuildPackage,luci-admin-mini))
$(eval $(call BuildPackage,luci-admin-full))
+$(eval $(call BuildPackage,luci-admin-rpc))
$(eval $(call BuildPackage,luci-mod-freifunk))
$(eval $(call BuildPackage,luci-app-ffwizard-leipzig))