summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/package/luci/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 35a47479d4..f6450f1b7d 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -684,6 +684,16 @@ define Package/luci-app-openvpn/install
$(call Package/luci/install/template,$(1),applications/luci-openvpn)
endef
+define Package/luci-app-p2pblock
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for the Freifunk P2P-Block addon
+ DEPENDS+=+luci-admin-core +luci-app-firewall +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
+endef
+
+define Package/luci-app-p2pblock/install
+ $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
+endef
+
### Server Gateway Interfaces ###
@@ -1009,6 +1019,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
PKG_SELECTED_MODULES+=applications/luci-openvpn
endif
+ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
+ PKG_SELECTED_MODULES+=applications/luci-p2pblock
+endif
ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
@@ -1132,6 +1145,7 @@ $(eval $(call BuildPackage,luci-app-livestats))
$(eval $(call BuildPackage,luci-app-asterisk))
$(eval $(call BuildPackage,luci-app-polipo))
$(eval $(call BuildPackage,luci-app-openvpn))
+$(eval $(call BuildPackage,luci-app-p2pblock))
$(eval $(call BuildPackage,luci-sgi-cgi))