endef
define Package/iptables/conffiles
-/etc/config/firewall
+/etc/firewall.config
/etc/firewall.user
endef
$(CP) $(PKG_BUILD_DIR)/libiptc/libiptc.a $(1)/usr/lib
endef
-define Build/UninstallDev
- rm -rf $(1)/usr/include/libipq.h
- rm -rf $(1)/usr/include/libipulog
- rm -rf $(1)/usr/include/libipq
- rm -rf $(1)/usr/include/libiptc
- rm -rf $(1)/usr/include/linux/netfilter*
- rm -rf $(1)/usr/include/iptables*
- rm -rf $(1)/usr/include/ip6tables*
- rm -rf $(1)/usr/lib/libipq.a
- rm -rf $(1)/usr/lib/libiptc.a
-endef
-
define Package/iptables/install
$(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall
+ $(INSTALL_DATA) ./files/firewall.config $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall
$(INSTALL_BIN) ./files/firewall.user $(1)/etc/