libyaml-cpp: copy file matching libs soname

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>
This commit is contained in:
Eneas U de Queiroz 2018-12-07 09:13:28 -02:00
parent bfc2435f7d
commit da9dda6412

View 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))