void-packages/srcpkgs/hiawatha/template
2017-01-29 13:13:36 +01:00

25 lines
733 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=10.5
revision=1
build_style=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=d76155430dc9100de412088bd68978a2a9052832609c7ac961dccaf2550c618a
configure_args="
-DLOG_DIR=/var/log/hiawatha
-DPID_DIR=/run
-DWEBROOT_DIR=/srv/www/$pkgname
-DWORK_DIR=/var/lib/hiawatha
-DUSE_SYSTEM_MBEDTLS=ON
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
conf_files="/etc/$pkgname/*.conf /etc/$pkgname/*.xslt"
LDFLAGS="-lmbedtls -lmbedx509 -lmbedcrypto"
post_install() {
vsv hiawatha
}