2 # Copyright (C) 2010-2012 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.42/
16 PKG_HASH
:=5ee272b11e4ca61c148d7392cbc01ad35f577b503727f479e38923e5bcfe6abf
18 PKG_CHECK_FORMAT_SECURITY
:=0
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/nls.mk
26 $(call Package
/vips
/Default
)
29 TITLE
:=An image manipulation library
30 URL
:=http
://www.vips.ecs.soton.ac.uk
/
31 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
32 DEPENDS
:=+glib2
+libexif
+libjpeg
+libpng
+libxml2
$(INTL_DEPENDS
)
36 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
58 define Build
/InstallDev
59 $(INSTALL_DIR
) $(1)/usr
/include/vips
61 $(PKG_INSTALL_DIR
)/usr
/include/* \
64 $(INSTALL_DIR
) $(1)/usr
/lib
/
66 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
69 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
71 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
72 $(1)/usr
/lib
/pkgconfig
/
75 define Package
/vips
/install
76 $(INSTALL_DIR
) $(1)/usr
/lib
/
78 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
82 $(eval
$(call BuildPackage
,vips
))