Blame view

buildroot/buildroot-2016.08.1/package/dillo/dillo.mk 1.18 KB
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
37
38
39
40
41
42
43
44
45
46
  ################################################################################
  #
  # dillo
  #
  ################################################################################
  
  DILLO_VERSION = 3.0.5
  DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
  DILLO_SITE = http://www.dillo.org/download
  DILLO_LICENSE = GPLv3+
  DILLO_LICENSE_FILES = COPYING
  # configure.ac gets patched, so autoreconf is necessary
  DILLO_AUTORECONF = YES
  DILLO_DEPENDENCIES = fltk zlib \
  	$(if $(BR2_PACKAGE_LIBICONV),libiconv)
  DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
  
  ifeq ($(BR2_PACKAGE_OPENSSL),y)
  DILLO_CONF_OPTS += --enable-ssl
  DILLO_DEPENDENCIES += openssl
  else
  DILLO_CONF_OPTS += --disable-ssl
  endif
  
  ifeq ($(BR2_PACKAGE_LIBPNG),y)
  DILLO_CONF_OPTS += --enable-png
  DILLO_DEPENDENCIES += libpng
  DILLO_CONF_ENV += PNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
  else
  DILLO_CONF_OPTS += --disable-png
  endif
  
  ifeq ($(BR2_PACKAGE_JPEG),y)
  DILLO_CONF_OPTS += --enable-jpeg
  DILLO_DEPENDENCIES += jpeg
  else
  DILLO_CONF_OPTS += --disable-jpeg
  endif
  
  ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
  DILLO_CONF_OPTS += --enable-threaded-dns
  else
  DILLO_CONF_OPTS += --disable-threaded-dns
  endif
  
  $(eval $(autotools-package))