taglib: install taglib-config to host path
authorRosen Penev <redacted>
Tue, 8 Dec 2020 02:23:12 +0000 (18:23 -0800)
committerRosen Penev <redacted>
Tue, 8 Dec 2020 04:16:21 +0000 (20:16 -0800)
Helps old packages that do not use pkgconfig.

Signed-off-by: Rosen Penev <redacted>
libs/taglib/Makefile

index eb4f639fd96b67acbb5c5261fd02a9587e3cb6d3..a35cf6c5a1ddd69f4f9394980a4e48e7614825c9 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=taglib
 PKG_VERSION:=1.12-beta-1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/taglib/taglib/tar.gz/v$(PKG_VERSION)?
@@ -52,6 +52,8 @@ define Build/InstallDev
        $(SED) '/^prefix=\|^exec_prefix=/s|/usr|$(STAGING_DIR)/usr|' $(1)/usr/bin/taglib-config
        $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/taglib.pc
        $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/taglib.pc
+       $(INSTALL_DIR) $(2)/bin
+       $(LN) ../../usr/bin/taglib-config $(2)/bin/taglib-config
 endef
 
 $(eval $(call BuildPackage,taglib))
git clone https://git.99rst.org/PROJECT