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.38/
16 PKG_MD5SUM
:=768d1c0f50c5b2794bcab68383af33ee
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 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
31 DEPENDS
:=+glib2
+libexif
+libjpeg
+libpng
+libxml2
$(INTL_DEPENDS
)
35 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
57 define Build
/InstallDev
58 $(INSTALL_DIR
) $(1)/usr
/include/vips
60 $(PKG_INSTALL_DIR
)/usr
/include/* \
63 $(INSTALL_DIR
) $(1)/usr
/lib
/
65 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
68 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
70 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
71 $(1)/usr
/lib
/pkgconfig
/
74 define Package
/vips
/install
75 $(INSTALL_DIR
) $(1)/usr
/lib
/
77 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
81 $(eval
$(call BuildPackage
,vips
))