(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
$(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(1)/usr/lib/iptables/ \
)
- $(RSTRIP) $(1)
endef
define Package/iptables-utils/install
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
- $(RSTRIP) $(1)
endef
define Package/ip6tables/install
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
$(CP) libip6t_*.so $(1)/usr/lib/iptables/ \
)
- $(RSTRIP) $(1)
endef
define BuildPlugin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \
done
$(3)
- $(RSTRIP) $$(1)
endef
$$(eval $$(call BuildPackage,$(1)))
define Package/pppstats/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppstats $(1)/usr/sbin/
- $(RSTRIP) $(1)
endef
$(eval $(call BuildPackage,ppp))