mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] package libipq as a shared library
r21799 by jow changed the staging install of libipq so that it is no longer available as a static library but is dynamically linked in as a shared library. However the libipq package was not being built. This patch provides libipq.so as a package. Signed-off-by: Ashok Rao <greatarbor@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22436 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -44,7 +44,7 @@ define Package/iptables
|
|||||||
$(call Package/iptables/Default)
|
$(call Package/iptables/Default)
|
||||||
TITLE:=IPv4 firewall administration tool
|
TITLE:=IPv4 firewall administration tool
|
||||||
MENU:=1
|
MENU:=1
|
||||||
DEPENDS+= +kmod-ipt-core +libiptc +libxtables
|
DEPENDS+= +kmod-ipt-core +libiptc +libxtables +libipq
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/iptables/description
|
define Package/iptables/description
|
||||||
@@ -272,6 +272,12 @@ define Package/libxtables
|
|||||||
TITLE:=IPv4/IPv6 firewall - shared xtables library
|
TITLE:=IPv4/IPv6 firewall - shared xtables library
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libipq
|
||||||
|
$(call Package/iptables/Default)
|
||||||
|
SECTION:=libs
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
TITLE:=IPv4/IPv6 firewall - shared libipq library
|
||||||
|
endef
|
||||||
|
|
||||||
TARGET_CPPFLAGS := \
|
TARGET_CPPFLAGS := \
|
||||||
-I$(PKG_BUILD_DIR)/include \
|
-I$(PKG_BUILD_DIR)/include \
|
||||||
@@ -372,6 +378,11 @@ define Package/libxtables/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libipq/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libipq.so* $(1)/usr/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
define BuildPlugin
|
define BuildPlugin
|
||||||
define Package/$(1)/install
|
define Package/$(1)/install
|
||||||
$(INSTALL_DIR) $$(1)/usr/lib/iptables
|
$(INSTALL_DIR) $$(1)/usr/lib/iptables
|
||||||
@@ -411,3 +422,4 @@ $(eval $(call BuildPackage,ip6tables))
|
|||||||
$(eval $(call BuildPackage,ip6tables-utils))
|
$(eval $(call BuildPackage,ip6tables-utils))
|
||||||
$(eval $(call BuildPackage,libiptc))
|
$(eval $(call BuildPackage,libiptc))
|
||||||
$(eval $(call BuildPackage,libxtables))
|
$(eval $(call BuildPackage,libxtables))
|
||||||
|
$(eval $(call BuildPackage,libipq))
|
||||||
|
|||||||
Reference in New Issue
Block a user