+
+define Build/InstallDev
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ COPT_FLAGS="$(TARGET_CFLAGS)" \
+ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \
+ DESTDIR="$(1)" \
+ install-devel
+ $(CP) $(PKG_BUILD_DIR)/include $(1)/usr
+ $(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
+