summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:07:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:07:51 +0000
commit21857143294373293b059447c6b089474bd5e631 (patch)
treed048d2c2ea000f85e1ee9dc7eae6e5c33cb03251 /contrib
parent74fd320885823ababc05c3962dadb96f615c02ed (diff)
contrib/package: add package definition for p2pblock
Diffstat (limited to 'contrib')
-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 35a47479d..f6450f1b7 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))