summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-06 21:40:48 +0000
committerSteven Barth <steven@midlink.org>2008-08-06 21:40:48 +0000
commitc9a29250557d1891354257433fd3c6c49ef68f84 (patch)
tree0f6b862623b46b32b3c8a1d6cf751cdc10963893
parent50093ed3d97c763d344f8f6b7bf934e593a92178 (diff)
libs/core: Outsourced luci.sys to own directory
-rw-r--r--contrib/package/luci/Makefile16
-rw-r--r--libs/sys/luasrc/sys.lua (renamed from libs/core/luasrc/sys.lua)0
-rw-r--r--libs/sys/luasrc/sys/iptparser.lua (renamed from libs/core/luasrc/sys/iptparser.lua)0
3 files changed, 15 insertions, 1 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index edd8949d0..356d8050d 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -187,9 +187,19 @@ define Package/luci-ipkg/install
endef
+define Package/luci-sys
+ $(call Package/luci/libtemplate)
+ TITLE:=LuCI Linux/POSIX system library
+endef
+
+define Package/luci-sys/install
+ $(call Package/luci/install/template,$(1),libs/sys)
+endef
+
+
define Package/luci-web
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-http +luci-addons +luci-uci +luci-sgi-cgi
+ DEPENDS+=+luci-http +luci-sys +luci-addons +luci-uci +luci-sgi-cgi
TITLE:=MVC Webframework
endef
@@ -560,6 +570,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-uci),)
PKG_SELECTED_MODULES+=libs/uci
endif
+ifneq ($(CONFIG_PACKAGE_luci-sys),)
+ PKG_SELECTED_MODULES+=libs/sys
+endif
ifneq ($(CONFIG_PACKAGE_luci-web),)
PKG_SELECTED_MODULES+=libs/web
endif
@@ -668,6 +681,7 @@ $(eval $(call BuildPackage,luci-fastindex))
$(eval $(call BuildPackage,luci-http))
$(eval $(call BuildPackage,luci-ipkg))
$(eval $(call BuildPackage,luci-uci))
+$(eval $(call BuildPackage,luci-sys))
$(eval $(call BuildPackage,luci-web))
$(eval $(call BuildPackage,luci-httpd))
diff --git a/libs/core/luasrc/sys.lua b/libs/sys/luasrc/sys.lua
index 14a2f294f..14a2f294f 100644
--- a/libs/core/luasrc/sys.lua
+++ b/libs/sys/luasrc/sys.lua
diff --git a/libs/core/luasrc/sys/iptparser.lua b/libs/sys/luasrc/sys/iptparser.lua
index 2e8085a55..2e8085a55 100644
--- a/libs/core/luasrc/sys/iptparser.lua
+++ b/libs/sys/luasrc/sys/iptparser.lua