2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# hiawatha
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-09-30 09:44:46 +02:00
|
|
|
HIAWATHA_VERSION = 10.10
|
2017-06-04 15:24:16 +02:00
|
|
|
HIAWATHA_SITE = https://www.hiawatha-webserver.org/files
|
2015-12-29 16:03:08 +01:00
|
|
|
HIAWATHA_DEPENDENCIES = zlib
|
2017-03-30 15:43:32 +02:00
|
|
|
HIAWATHA_LICENSE = GPL-2.0
|
2012-09-12 05:51:54 +02:00
|
|
|
HIAWATHA_LICENSE_FILES = LICENSE
|
2012-04-10 18:05:29 +02:00
|
|
|
|
2020-05-29 22:49:15 +02:00
|
|
|
HIAWATHA_CONF_OPTS = \
|
|
|
|
-DENABLE_TOOLKIT=OFF \
|
|
|
|
-DCONFIG_DIR=/etc/hiawatha \
|
|
|
|
-DLOG_DIR=/var/log \
|
|
|
|
-DPID_DIR=/var/run \
|
|
|
|
-DWEBROOT_DIR=/var/www/hiawatha \
|
|
|
|
-DWORK_DIR=/var/lib/hiawatha
|
|
|
|
|
2012-04-10 18:05:29 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y)
|
2015-12-29 16:03:08 +01:00
|
|
|
HIAWATHA_CONF_OPTS += -DUSE_SYSTEM_MBEDTLS=ON
|
|
|
|
HIAWATHA_DEPENDENCIES += mbedtls
|
2013-06-24 04:19:03 +02:00
|
|
|
else
|
2015-12-29 16:03:08 +01:00
|
|
|
HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF
|
2012-04-10 18:05:29 +02:00
|
|
|
endif
|
|
|
|
|
2020-05-29 19:58:56 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBXSLT),y)
|
|
|
|
HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON
|
|
|
|
HIAWATHA_DEPENDENCIES += libxslt
|
|
|
|
else
|
|
|
|
HIAWATHA_CONF_OPTS += -DENABLE_XSLT=OFF
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(cmake-package))
|