lcms2.mk 779 B

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # lcms2
  4. #
  5. ################################################################################
  6. LCMS2_VERSION = 2.5
  7. LCMS2_SITE = http://downloads.sourceforge.net/lcms/lcms
  8. LCMS2_LICENSE = MIT
  9. LCMS2_LICENSE_FILES = COPYING
  10. LCMS2_INSTALL_STAGING = YES
  11. LCMS2_CONF_OPTS = \
  12. ifeq ($(BR2_PACKAGE_JPEG),y)
  13. LCMS2_CONF_OPTS += --with-jpeg
  14. LCMS2_DEPENDENCIES += jpeg
  15. else
  16. LCMS2_CONF_OPTS += --without-jpeg
  17. endif
  18. ifeq ($(BR2_PACKAGE_TIFF),y)
  19. LCMS2_CONF_OPTS += --with-tiff
  20. LCMS2_DEPENDENCIES += tiff
  21. else
  22. LCMS2_CONF_OPTS += --without-tiff
  23. endif
  24. ifeq ($(BR2_PACKAGE_ZLIB),y)
  25. LCMS2_CONF_OPTS += --with-zlib
  26. LCMS2_DEPENDENCIES += zlib
  27. else
  28. LCMS2_CONF_OPTS += --without-zlib
  29. endif
  30. $(eval $(autotools-package))