Blame view

buildroot/buildroot-2016.08.1/package/hiawatha/hiawatha.mk 747 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
  ################################################################################
  #
  # hiawatha
  #
  ################################################################################
  
  HIAWATHA_VERSION = 10.3
  HIAWATHA_SITE = http://www.hiawatha-webserver.org/files
  HIAWATHA_DEPENDENCIES = zlib
  HIAWATHA_LICENSE = GPLv2
  HIAWATHA_LICENSE_FILES = LICENSE
  
  ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y)
  HIAWATHA_CONF_OPTS += -DUSE_SYSTEM_MBEDTLS=ON
  HIAWATHA_DEPENDENCIES += mbedtls
  else
  HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF
  endif
  
  HIAWATHA_CONF_OPTS += \
  	-DENABLE_TOOLKIT=OFF \
  	-DENABLE_XSLT=OFF \
  	-DCONFIG_DIR=/etc/hiawatha \
  	-DLOG_DIR=/var/log \
  	-DPID_DIR=/var/run \
  	-DWEBROOT_DIR=/var/www/hiawatha \
  	-DWORK_DIR=/var/lib/hiawatha
  
  $(eval $(cmake-package))