af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
749 B
Makefile
30 lines
749 B
Makefile
################################################################################
|
|
#
|
|
# hiawatha
|
|
#
|
|
################################################################################
|
|
|
|
HIAWATHA_VERSION = 10.5
|
|
HIAWATHA_SITE = http://www.hiawatha-webserver.org/files
|
|
HIAWATHA_DEPENDENCIES = zlib
|
|
HIAWATHA_LICENSE = GPL-2.0
|
|
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))
|