summaryrefslogtreecommitdiff
path: root/package/network/utils/ipset
diff options
context:
space:
mode:
authorJulian Kornberger <jk+github@digineo.de>2016-11-26 11:15:34 +0100
committerJohn Crispin <john@phrozen.org>2016-11-26 22:39:27 +0100
commit04a76da1aea059c638b166e5433a13d0951fb2bd (patch)
tree6cc2e43f8ecadbe066f91a0d539adacbba1a6d16 /package/network/utils/ipset
parentd76ee5bfac68687cb01b70f2d3d400d653ecd9c8 (diff)
downloadmtk-20170518-04a76da1aea059c638b166e5433a13d0951fb2bd.zip
mtk-20170518-04a76da1aea059c638b166e5433a13d0951fb2bd.tar.gz
mtk-20170518-04a76da1aea059c638b166e5433a13d0951fb2bd.tar.bz2
ipset: Add InstallDev to provide libipset as library
Diffstat (limited to 'package/network/utils/ipset')
-rw-r--r--package/network/utils/ipset/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/network/utils/ipset/Makefile b/package/network/utils/ipset/Makefile
index c48ac04..13d1d3d 100644
--- a/package/network/utils/ipset/Makefile
+++ b/package/network/utils/ipset/Makefile
@@ -1,4 +1,4 @@
-
+
# Copyright (C) 2009-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@@ -43,6 +43,13 @@ define Build/Compile
$(call Build/Compile/Default)
endef
+define Build/InstallDev
+ $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/libipset $(1)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libipset.{a,so*} $(1)/usr/lib/
+ $(CP) $(PKG_BUILD_DIR)/lib/libipset.pc $(1)/usr/lib/pkgconfig/
+endef
+
define Package/ipset/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ipset $(1)/usr/sbin/