From 18f1cf62b6ef68ac6302656441d187ab5b7a6f15 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 2 May 2019 15:40:54 +0800 Subject: [PATCH] libjpeg: Install pkg-config metadata file in Build/InstallDev Some programs use pkg-config to discover installed libraries. Signed-off-by: Jeffery To --- libs/libjpeg/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libjpeg/Makefile b/libs/libjpeg/Makefile index 17f6a0e07..cc3c919e4 100644 --- a/libs/libjpeg/Makefile +++ b/libs/libjpeg/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=jpeg PKG_VERSION:=9c -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)src.v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.ijg.org/files @@ -74,6 +74,8 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libjpeg.pc $(1)/usr/lib/pkgconfig/ endef define Package/libjpeg/install