-### Server Gateway Interfaces ###
-define sgi
- define Package/luci-sgi-$(1)
- SECTION:=luci
- CATEGORY:=LuCI
- TITLE:=LuCI - Lua Configuration Interface
- URL:=http://luci.subsignal.org/
- MAINTAINER:=LuCI Development Team <luci@lists.subsignal.org>
- SUBMENU:=7. Server Interfaces
- TITLE:=$(if $(2),$(2),LuCI $(1) server gateway interface)
- DEPENDS:=$(3)
- endef
-
- define Package/luci-sgi-$(1)/install
- $(call Package/luci/install/template,$$(1),libs/sgi-$(1))
- endef
-
- ifneq ($(CONFIG_PACKAGE_luci-sgi-$(1)),)
- LUCI_SELECTED_MODULES+=libs/sgi-$(1)
- endif
-
- LUCI_BUILD_PACKAGES += luci-sgi-$(1)
-endef
-
-$(eval $(call sgi,cgi,CGI Gateway behind existing Webserver))
-$(eval $(call sgi,uhttpd,Binding for the uHTTPd server,+uhttpd +uhttpd-mod-lua))
-
-