From 99c2f42dcca2a241ac8a0e26bb9a02b194881278 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 13 Dec 2020 20:52:40 -0800 Subject: [PATCH] vips: do not install libvips-cpp Nothing uses it. Allows to slim the package down. Also made the InstallDev section more explicit. Signed-off-by: Rosen Penev --- libs/vips/Makefile | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/libs/vips/Makefile b/libs/vips/Makefile index 88f90f8696..c96e70e36b 100644 --- a/libs/vips/Makefile +++ b/libs/vips/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vips PKG_VERSION:=8.10.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/libvips/libvips/releases/download/v$(PKG_VERSION) @@ -72,26 +72,18 @@ TARGET_CXXFLAGS += -fno-rtti define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/vips - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/* \ - $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/vips/* $(1)/usr/include/vips $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.{a,so}* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ - $(1)/usr/lib/pkgconfig/ + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/vips.pc $(1)/usr/lib/pkgconfig/vips.pc endef define Package/vips/install $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.so.* $(1)/usr/lib/ endef $(eval $(call BuildPackage,vips)) -- 2.30.2