void-packages/srcpkgs/hiawatha/template
2018-09-14 13:54:36 -03:00

22 lines
791 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=10.8.3
revision=2
build_style=cmake
configure_args="-DLOG_DIR=/var/log/hiawatha -DPID_DIR=/run
-DWEBROOT_DIR=/srv/www/$pkgname -DWORK_DIR=/var/lib/hiawatha
-DUSE_SYSTEM_MBEDTLS=ON -DUSE_SYSTEM_NGHTTP2=ON
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
makedepends="libxslt-devel mbedtls-devel nghttp2-devel"
short_desc="Advanced and secure webserver for Unix"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://hiawatha-webserver.org"
distfiles="${homepage}/files/${pkgname}-${version}.tar.gz"
checksum=7f98be8b42adf477fcc7a8eedea8bc2686a3a5fc3931835ea2a211766d5c2412
conf_files="/etc/${pkgname}/*.conf /etc/${pkgname}/*.xslt"
make_dirs="/var/log/hiawatha 0755 root root"
post_install() {
vsv hiawatha
}