2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=https
://github.com
/libvips
/libvips
/releases
/download
/v
$(PKG_VERSION
)
14 PKG_HASH
:=aba3f97d60c344c5d40ffcec524460e378dab939f873ec5d155bbc510a4fbd5d
16 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
17 PKG_LICENSE
:=LGPL-2.1
-or-later
18 PKG_LICENSE_FILES
:=COPYING
24 include $(INCLUDE_DIR
)/uclibc
++.mk
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
29 $(call Package
/vips
/Default
)
32 TITLE
:=An image manipulation library
33 URL
:=https
://libvips.github.io
/libvips
/
34 DEPENDS
:=+glib2
+libexif
+libexpat
+libjpeg
+libpng
+giflib
+libxml2
$(CXX_DEPENDS
) $(INTL_DEPENDS
)
39 --disable-gtk-doc-html \
40 --disable-magickload \
41 --disable-magicksave \
46 --without-imagequant \
50 --without-magickpackage \
70 TARGET_CXXFLAGS
+= -fno-rtti
72 define Build
/InstallDev
73 $(INSTALL_DIR
) $(1)/usr
/include/vips
75 $(PKG_INSTALL_DIR
)/usr
/include/* \
78 $(INSTALL_DIR
) $(1)/usr
/lib
/
80 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
83 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
85 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
86 $(1)/usr
/lib
/pkgconfig
/
89 define Package
/vips
/install
90 $(INSTALL_DIR
) $(1)/usr
/lib
/
92 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
96 $(eval
$(call BuildPackage
,vips
))