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.34/
16 PKG_MD5SUM:=520658fb5890103e446df629fb832795
18 include $(INCLUDE_DIR)/package.mk
19 include $(INCLUDE_DIR)/nls.mk
24 $(call Package/vips/Default)
27 TITLE:=An image manipulation library
28 URL:=http://www.vips.ecs.soton.ac.uk/
29 DEPENDS:=+glib2 +libexif +libjpeg +libpng +libxml2 $(INTL_DEPENDS)
33 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
55 define Build/InstallDev
56 $(INSTALL_DIR) $(1)/usr/include/vips
58 $(PKG_INSTALL_DIR)/usr/include/* \
61 $(INSTALL_DIR) $(1)/usr/lib/
63 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
66 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
68 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
69 $(1)/usr/lib/pkgconfig/
72 define Package/vips/install
73 $(INSTALL_DIR) $(1)/usr/lib/
75 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
79 $(eval $(call BuildPackage,vips))