DEPENDS:=+libnl-route
endef
+define Package/libnl-cli
+$(call Package/libnl/default)
+ TITLE:=CLI Netlink Library
+ DEPENDS:=+libnl-genl +libnl-nf
+endef
+
define Package/libnl
$(call Package/libnl/default)
TITLE:=Full Netlink Library
- DEPENDS:=+libnl-genl +libnl-route +libnl-nf
+ DEPENDS:=+libnl-genl +libnl-route +libnl-nf +libnl-cli
endef
define Package/libnl-core/description
Netfilter Netlink Library Functions
endef
+define Package/libnl-cli/description
+ CLI Netlink Library Functions
+endef
+
define Package/libnl/description
Socket handling, connection management, sending and receiving of data,
message construction and parsing, object caching system, etc.
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-genl-3.so $(1)/usr/lib/libnl-genl.so
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-nf-3.so $(1)/usr/lib/libnl-nf.so
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-route-3.so $(1)/usr/lib/libnl-route.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-cli-3.so $(1)/usr/lib/libnl-cli.so
endef
define Package/libnl-core/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-nf-3.so.* $(1)/usr/lib/
endef
+define Package/libnl-cli/install
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnl-cli-3.so.* $(1)/usr/lib/
+endef
+
define Package/libnl/install
:
endef
$(eval $(call BuildPackage,libnl-genl))
$(eval $(call BuildPackage,libnl-route))
$(eval $(call BuildPackage,libnl-nf))
+$(eval $(call BuildPackage,libnl-cli))
$(eval $(call BuildPackage,libnl))