2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.vips.ecs.soton.ac.uk
/supported
/7.22/
16 PKG_MD5SUM
:=852913223ce5dc115bc7088e7c9d1596
19 include $(INCLUDE_DIR
)/package.mk
20 include $(INCLUDE_DIR
)/nls.mk
24 define Package
/vips
/Default
26 URL
:=http
://www.vips.ecs.soton.ac.uk
/
30 $(call Package
/vips
/Default
)
33 DEPENDS
:=+libjpeg
+glib2
+libxml2
+imagemagick
+libfreetype
$(INTL_DEPENDS
)
36 define Package
/vips
/description
37 An image manipulation library.
41 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include/vips
51 $(PKG_INSTALL_DIR
)/usr
/include/* \
54 $(INSTALL_DIR
) $(1)/usr
/lib
/
56 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
59 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
61 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
62 $(1)/usr
/lib
/pkgconfig
/
65 define Package
/vips
/install
66 $(INSTALL_DIR
) $(1)/usr
/lib
/
68 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
72 $(eval
$(call BuildPackage
,vips
))