* luci/contrib: add asterisk to Makefile
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Oct 2008 02:33:56 +0000 (02:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Oct 2008 02:33:56 +0000 (02:33 +0000)
contrib/package/luci/Makefile

index 007c58d037a885f7ecacd4d495380480a7101ec0..b2a19a1f78ed9b7998769f805add8c66d05b4759 100644 (file)
@@ -524,6 +524,15 @@ define Package/luci-app-livestats/install
         $(call Package/luci/install/template,$(1),applications/luci-livestats)
 endef
 
+define Package/luci-app-asterisk
+  $(call Package/luci/webtemplate)
+  TITLE:=LuCI Support for Asterisk PBX (Incomplete)
+endef
+
+define Package/luci-app-asterisk/install
+        $(call Package/luci/install/template,$(1),applications/luci-asterisk)
+endef
+
 
 ### Server Gateway Interfaces ###
 
@@ -777,6 +786,9 @@ endif
 ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
        PKG_SELECTED_MODULES+=applications/luci-livestats
 endif
+ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
+       PKG_SELECTED_MODULES+=applications/luci-asterisk
+endif
 
 
 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
@@ -872,6 +884,7 @@ $(eval $(call BuildPackage,luci-app-hd_idle))
 $(eval $(call BuildPackage,luci-app-tinyproxy))
 $(eval $(call BuildPackage,luci-app-initmgr))
 $(eval $(call BuildPackage,luci-app-livestats))
+$(eval $(call BuildPackage,luci-app-asterisk))
 
 $(eval $(call BuildPackage,luci-sgi-cgi))
 $(eval $(call BuildPackage,luci-sgi-luci))