mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-20 07:38:40 +02:00
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 <rosenp@gmail.com>
This commit is contained in:
parent
e0fa06547c
commit
99c2f42dcc
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=vips
|
PKG_NAME:=vips
|
||||||
PKG_VERSION:=8.10.2
|
PKG_VERSION:=8.10.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/libvips/libvips/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/libvips/libvips/releases/download/v$(PKG_VERSION)
|
||||||
|
@ -72,26 +72,18 @@ TARGET_CXXFLAGS += -fno-rtti
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/vips
|
$(INSTALL_DIR) $(1)/usr/include/vips
|
||||||
$(CP) \
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/vips/* $(1)/usr/include/vips
|
||||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
|
||||||
$(1)/usr/include/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/lib/
|
||||||
$(CP) \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.{a,so}* $(1)/usr/lib/
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||||
$(INSTALL_DATA) \
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/vips.pc $(1)/usr/lib/pkgconfig/vips.pc
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
|
||||||
$(1)/usr/lib/pkgconfig/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/vips/install
|
define Package/vips/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/lib/
|
||||||
$(CP) \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvips.so.* $(1)/usr/lib/
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,vips))
|
$(eval $(call BuildPackage,vips))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user