Author: blogic
Date: 2015-03-21 22:47:34 +0100 (Sat, 21 Mar 2015)
New Revision: 44924

Modified:
   trunk/package/network/services/lldpd/Makefile
Log:
lldpd: add Build/InstallDev rule

For using liblldpctl to talk to lldpd (via unix sockets).

Signed-off-by: Alexandru Ardelean <[email protected]>

Modified: trunk/package/network/services/lldpd/Makefile
===================================================================
--- trunk/package/network/services/lldpd/Makefile       2015-03-21 21:47:20 UTC 
(rev 44923)
+++ trunk/package/network/services/lldpd/Makefile       2015-03-21 21:47:34 UTC 
(rev 44924)
@@ -49,6 +49,14 @@
        Link-Layer notifications to adjacent network devices.
 endef
 
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblldpctl.so* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/lldpctl.h 
$(1)/usr/include/lldpctl.h
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/lldp-const.h 
$(1)/usr/include/lldp-const.h
+endef
+
 define Package/lldpd/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_DIR) $(1)/etc/lldpd.d
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to