Skip to content

Commit

Permalink
Merge pull request openwrt#8877 from jefferyto/tiff-pkg-config
Browse files Browse the repository at this point in the history
tiff: Install pkg-config metadata file in Build/InstallDev
  • Loading branch information
jslachta authored May 2, 2019
2 parents f6e4628 + 1b90bf0 commit c680da9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/tiff/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=tiff
PKG_VERSION:=4.0.10
PKG_RELEASE:=3
PKG_RELEASE:=4

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.osgeo.org/libtiff
Expand Down Expand Up @@ -84,8 +84,9 @@ define Build/InstallDev/hxx
endef

define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/{lib,include}
$(INSTALL_DIR) $(1)/usr/{lib,include} $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
$(if $(CONFIG_PACKAGE_libtiffxx), $(call Build/InstallDev/hxx,$(1)))
endef
Expand Down

0 comments on commit c680da9

Please sign in to comment.