Blame view

buildroot/buildroot-2016.08.1/package/lcms2/lcms2.mk 779 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  ################################################################################
  #
  # lcms2
  #
  ################################################################################
  
  LCMS2_VERSION = 2.7
  LCMS2_SITE = http://downloads.sourceforge.net/lcms/lcms
  LCMS2_LICENSE = MIT
  LCMS2_LICENSE_FILES = COPYING
  LCMS2_INSTALL_STAGING = YES
  
  LCMS2_CONF_OPTS = \
  
  ifeq ($(BR2_PACKAGE_JPEG),y)
  LCMS2_CONF_OPTS += --with-jpeg
  LCMS2_DEPENDENCIES += jpeg
  else
  LCMS2_CONF_OPTS += --without-jpeg
  endif
  
  ifeq ($(BR2_PACKAGE_TIFF),y)
  LCMS2_CONF_OPTS += --with-tiff
  LCMS2_DEPENDENCIES += tiff
  else
  LCMS2_CONF_OPTS += --without-tiff
  endif
  
  ifeq ($(BR2_PACKAGE_ZLIB),y)
  LCMS2_CONF_OPTS += --with-zlib
  LCMS2_DEPENDENCIES += zlib
  else
  LCMS2_CONF_OPTS += --without-zlib
  endif
  
  $(eval $(autotools-package))