void-packages/srcpkgs/hiawatha/template
2015-08-09 19:08:42 +02:00

31 lines
849 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.14
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="libxslt-devel mbedtls-devel"
short_desc="Advanced and secure webserver for Unix"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://hiawatha-webserver.org"
distfiles="$homepage/files/$pkgname-$version.tar.gz"
checksum=79c92587cd86a0461d952c99036f5615dacdcaccabe0a9a29359e6044d809bfa
configure_args="
-DLOG_DIR=/var/log/hiawatha
-DPID_DIR=/run
-DWEBROOT_DIR=/var/www
-DWORK_DIR=/var/lib/hiawatha
-DUSE_SYSTEM_MBEDTLS=ON
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
conf_files="
/etc/hiawatha/cgi-wrapper.conf
/etc/hiawatha/mimetype.conf
/etc/hiawatha/error.xslt
/etc/hiawatha/index.xslt
/etc/hiawatha/hiawatha.conf"
LDFLAGS="-lmbedtls -lmbedx509 -lmbedcrypto"
post_install() {
vsv hiawatha
}