summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-02-27 14:58:56 +0000
committerSteven Barth <steven@midlink.org>2009-02-27 14:58:56 +0000
commit0a224c5ca8ecb5d342e01acd1b3591cbb81c7512 (patch)
tree0be2e80b757ac39a0d0d05b5a7a044e158469890 /contrib/package
parent7196b2cd848577f640d9268a0a34ab3ad8706c26 (diff)
Add Makefile definitions for http-client
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/luci/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 2ee3ee248..e915d0370 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -182,6 +182,17 @@ define Package/luci-http/install
endef
+define Package/luci-httpclient
+ $(call Package/luci/libtemplate)
+ TITLE:=HTTP(S) client library
+ DEPENDS+=+luci-http +luci-nixio
+endef
+
+define Package/luci-httpclient/install
+ $(call Package/luci/install/template,$(1),libs/httpclient)
+endef
+
+
define Package/luci-ipkg
$(call Package/luci/libtemplate)
TITLE:=LuCI IPKG/OPKG call abstraction library
@@ -768,6 +779,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-http),)
PKG_SELECTED_MODULES+=libs/http
endif
+ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
+ PKG_SELECTED_MODULES+=libs/httpclient
+endif
ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
PKG_SELECTED_MODULES+=libs/ipkg
endif
@@ -944,6 +958,7 @@ $(eval $(call BuildPackage,luci-core))
$(eval $(call BuildPackage,luci-cbi))
$(eval $(call BuildPackage,luci-fastindex))
$(eval $(call BuildPackage,luci-http))
+$(eval $(call BuildPackage,luci-httpclient))
$(eval $(call BuildPackage,luci-ipkg))
$(eval $(call BuildPackage,luci-json))
$(eval $(call BuildPackage,luci-nixio))