This patch updates libssh2 to version 1.4.3 and also adds its
pkgconfig file to pkgconfig path.

Signed-off-by: Jiri Slachta <slac...@cesnet.cz>
---
 libs/libssh2/Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libs/libssh2/Makefile b/libs/libssh2/Makefile
index 01f538f..4410cd3 100644
--- a/libs/libssh2/Makefile
+++ b/libs/libssh2/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libssh2
-PKG_VERSION:=1.4.2
+PKG_VERSION:=1.4.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.libssh2.org/download
-PKG_MD5SUM:=42e2b3796ac07fc1dbafc7abcc002cd3
+PKG_MD5SUM:=071004c60c5d6f90354ad1b701013a0b
 
 PKG_INSTALL:=1
 
@@ -28,7 +28,7 @@ define Package/libssh2
 endef
 
 define Package/libssh2/description
-       libssh2 is a client-side C library implementing the SSH2 protocol
+ libssh2 is a client-side C library implementing the SSH2 protocol.
 endef
 
 TARGET_CFLAGS += $(FPIC)
@@ -40,8 +40,10 @@ CONFIGURE_ARGS += \
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(INSTALL_DIR) $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh2.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libssh2.pc 
$(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libssh2/install
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to