projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d76ee5b
)
ipset: Add InstallDev to provide libipset as library
author
Julian Kornberger
<jk+github@digineo.de>
Sat, 26 Nov 2016 10:15:34 +0000
(11:15 +0100)
committer
John Crispin
<john@phrozen.org>
Sat, 26 Nov 2016 21:39:27 +0000
(22:39 +0100)
package/network/utils/ipset/Makefile
patch
|
blob
|
history
diff --git
a/package/network/utils/ipset/Makefile
b/package/network/utils/ipset/Makefile
index c48ac0455579a3601f9ddeb9ae785a6565764095..13d1d3d649d13046429ef50ca9d7000a817ddee6 100644
(file)
--- 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.
# 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
$(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/
define Package/ipset/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ipset $(1)/usr/sbin/