From 21857143294373293b059447c6b089474bd5e631 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 20:07:51 +0000 Subject: [PATCH] contrib/package: add package definition for p2pblock --- contrib/package/luci/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)) -- 2.30.2