2 # Copyright (C) 2010-2011 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.28/
16 PKG_MD5SUM:=c34e4c6367078c6d50893927aa5924bd
19 include $(INCLUDE_DIR)/package.mk
20 include $(INCLUDE_DIR)/nls.mk
25 $(call Package/vips/Default)
28 TITLE:=An image manipulation library
29 URL:=http://www.vips.ecs.soton.ac.uk/
30 DEPENDS:=+glib2 +libexif +libjpeg +libpng +libxml2 $(INTL_DEPENDS)
34 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
56 define Build/InstallDev
57 $(INSTALL_DIR) $(1)/usr/include/vips
59 $(PKG_INSTALL_DIR)/usr/include/* \
62 $(INSTALL_DIR) $(1)/usr/lib/
64 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
67 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
69 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
70 $(1)/usr/lib/pkgconfig/
73 define Package/vips/install
74 $(INSTALL_DIR) $(1)/usr/lib/
76 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
80 $(eval $(call BuildPackage,vips))