libvorbisidec: Add pkgconfig to STAGING_DIR
authorTed Hess <redacted>
Tue, 6 Mar 2018 21:03:06 +0000 (16:03 -0500)
committerTed Hess <redacted>
Tue, 6 Mar 2018 21:04:26 +0000 (16:04 -0500)
Signed-off-by: Ted Hess <redacted>
libs/libvorbisidec/Makefile

index 79c5e9d93ee06e441a6ec5a158d290cf23773102..93b938fab684152bb4e5bc6e228e7e4f6025d06b 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=libvorbisidec
 PKG_REV:=20150104
 PKG_VERSION:=1.0.3-$(PKG_REV)
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://git.xiph.org/tremor.git
@@ -51,6 +51,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/tremor $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libvorbisidec/install
git clone https://git.99rst.org/PROJECT