contrib/package: complete rework of dependencies, should cure menuconfig issues
[project/luci.git] / contrib / package / freifunk-p2pblock / Makefile
index 918d6a9..d264a17 100644 (file)
@@ -15,10 +15,11 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 include $(INCLUDE_DIR)/package.mk
 
 define Package/freifunk-p2pblock
-  SECTION:=net
-  CATEGORY:=Network
+  SECTION:=luci
+  CATEGORY:=LuCI
+  SUBMENU:=9. Freifunk
   TITLE:=Freifunk p2pblock Addon
-  DEPENDS:=+iptables-mod-filter +l7-protocols +iptables-mod-conntrack-extra
+  DEPENDS:=+iptables-mod-filter +iptables-mod-ipp2p +l7-protocols +iptables-mod-conntrack-extra
 endef
 
 define Package/freifunk-p2pblock/description
@@ -40,7 +41,7 @@ define Package/freifunk-p2pblock/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/freifunk-p2pblock.init $(1)/etc/init.d/freifunk-p2pblock
        $(INSTALL_DIR) $(1)/etc/config
-       $(INSTALL_BIN) ./files/freifunk-p2pblock.config $(1)/etc/config/freifunk-p2pblock
+       $(INSTALL_DATA) ./files/freifunk-p2pblock.config $(1)/etc/config/freifunk_p2pblock
 endef
 
 $(eval $(call BuildPackage,freifunk-p2pblock))