void-packages/srcpkgs/hiawatha/template
2015-10-17 20:20:31 +02:00

31 lines
849 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.15
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=e9252133a1114095d1a9a89144b88828ee3b9754f435bd88270f7bf444dd9421
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
}