aboutsummaryrefslogtreecommitdiff
path: root/libs/taglib
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-07 18:23:12 -0800
committerRosen Penev <rosenp@gmail.com>2020-12-07 20:16:21 -0800
commit72f6290de7d048746d367e4d019cb0bc464a699d (patch)
treec72516d3bc72951416cd1d91faec6072b9d0c8a4 /libs/taglib
parentea80600e3c390025b617aa8b25382c228f4c5b01 (diff)
taglib: install taglib-config to host path
Helps old packages that do not use pkgconfig. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/taglib')
-rw-r--r--libs/taglib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/taglib/Makefile b/libs/taglib/Makefile
index eb4f639fd..a35cf6c5a 100644
--- a/libs/taglib/Makefile
+++ b/libs/taglib/Makefile
@@ -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))