Browse Source

Merge pull request #8874 from jefferyto/libjpeg-pkg-config

libjpeg: Install pkg-config metadata file in Build/InstallDev
lilik-openwrt-22.03
Jo-Philipp Wich 6 years ago
committed by GitHub
parent
commit
f6e4628076
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libs/libjpeg/Makefile

+ 3
- 1
libs/libjpeg/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=jpeg PKG_NAME:=jpeg
PKG_VERSION:=9c PKG_VERSION:=9c
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)src.v$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)src.v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ijg.org/files 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/ $(CP) $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(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 endef
define Package/libjpeg/install define Package/libjpeg/install


Loading…
Cancel
Save