diff options
author | Ted Hess <thess@kitschensync.net> | 2015-12-05 16:39:31 -0500 |
---|---|---|
committer | Ted Hess <thess@kitschensync.net> | 2015-12-05 16:39:31 -0500 |
commit | c2cf511cf136299a358f206923a196a029e44063 (patch) | |
tree | ec2405a668a61e6af101d2a76aded7e545000453 /libs/libshout/Makefile | |
parent | ca05c4c751909ae490149dc9d789b2bbfc60fc86 (diff) |
libshout: Make separate pkg_config files for libs. Fixes ices build
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'libs/libshout/Makefile')
-rw-r--r-- | libs/libshout/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/libshout/Makefile b/libs/libshout/Makefile index 4559ddf89..aeff8531d 100644 --- a/libs/libshout/Makefile +++ b/libs/libshout/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libshout PKG_VERSION:=2.3.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -70,14 +70,16 @@ CONFIGURE_VARS += \ TARGET_CFLAGS += $(FPIC) -Wl,-rpath-link="$(STAGING_DIR)/usr/lib" +PACKAGE_CONFIG_FILE=shout$(if $(findstring $(BUILD_VARIANT),full),-full).pc + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/shout $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libshout.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's| -I/usr/include||' $(1)/usr/lib/pkgconfig/shout.pc + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(1)/usr/lib/pkgconfig/$(PACKAGE_CONFIG_FILE) + $(SED) 's| -I/usr/include||' $(1)/usr/lib/pkgconfig/$(PACKAGE_CONFIG_FILE) endef define Package/libshout/install |