From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 20:07:51 +0000 (+0000) Subject: contrib/package: add package definition for p2pblock X-Git-Tag: 0.9.0~233 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21857143294373293b059447c6b089474bd5e631;p=oweals%2Fluci.git contrib/package: add package definition for p2pblock --- 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))