You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2010-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=vips
  9. PKG_VERSION:=7.38.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.vips.ecs.soton.ac.uk/supported/7.38/
  13. PKG_MD5SUM:=768d1c0f50c5b2794bcab68383af33ee
  14. PKG_FIXUP:=autoreconf
  15. include $(INCLUDE_DIR)/package.mk
  16. include $(INCLUDE_DIR)/nls.mk
  17. PKG_INSTALL=1
  18. define Package/vips
  19. $(call Package/vips/Default)
  20. SECTION:=multimedia
  21. CATEGORY:=Multimedia
  22. TITLE:=An image manipulation library
  23. URL:=http://www.vips.ecs.soton.ac.uk/
  24. MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  25. DEPENDS:=+glib2 +libexif +libjpeg +libpng +libxml2 $(INTL_DEPENDS)
  26. endef
  27. TARGET_LDFLAGS+= \
  28. -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
  29. CONFIGURE_ARGS += \
  30. --disable-cxx \
  31. --disable-threads \
  32. --without-cfitsio \
  33. --without-fftw \
  34. --without-lcms \
  35. --without-magick \
  36. --without-matio \
  37. --without-OpenEXR \
  38. --without-orc \
  39. --without-pangoft2 \
  40. --without-python \
  41. --without-tiff \
  42. --without-v4l \
  43. --without-x \
  44. --without-zip \
  45. --with-jpeg \
  46. --with-libexif \
  47. --with-png \
  48. define Build/InstallDev
  49. $(INSTALL_DIR) $(1)/usr/include/vips
  50. $(CP) \
  51. $(PKG_INSTALL_DIR)/usr/include/* \
  52. $(1)/usr/include/
  53. $(INSTALL_DIR) $(1)/usr/lib/
  54. $(CP) \
  55. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  56. $(1)/usr/lib/
  57. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  58. $(INSTALL_DATA) \
  59. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
  60. $(1)/usr/lib/pkgconfig/
  61. endef
  62. define Package/vips/install
  63. $(INSTALL_DIR) $(1)/usr/lib/
  64. $(CP) \
  65. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  66. $(1)/usr/lib/
  67. endef
  68. $(eval $(call BuildPackage,vips))