libyaml-cpp: copy file matching libs soname
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Fri, 7 Dec 2018 11:13:28 +0000 (09:13 -0200)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Fri, 7 Dec 2018 11:35:13 +0000 (09:35 -0200)
The soname is not set to the full version, but only major.minor.
This uses libyaml-cpp.so.?.? to try to get it right.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
libs/libyaml-cpp/Makefile

index 74c93b39d0657ba790560fd5a75b38087fb75795..b71be2d623d4918416755706e6b05ff7edbf6148 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libyaml-cpp
 PKG_VERSION:=0.6.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=yaml-cpp-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/jbeder/yaml-cpp/tar.gz/yaml-cpp-$(PKG_VERSION)?
@@ -46,9 +46,8 @@ endef
 
 define Package/libyaml-cpp/install
        $(INSTALL_DIR) $(1)/usr/lib
-       #$(INSTALL_DATA) $(PKG_BUILD_DIR)/libyaml-cpp.so.0.5.3 $(1)/usr/lib/
-       #$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.5.3 $(1)/usr/lib/
-       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.$(PKG_VERSION) $(1)/usr/lib/
+       #$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.6 $(1)/usr/lib/
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.?.? $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,libyaml-cpp))