void-packages/srcpkgs/hiawatha/template

32 lines
823 B
Plaintext

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.11
revision=2
build_style=cmake
hostmakedepends="cmake"
makedepends="libxslt-devel polarssl-devel>=1.3.9_3"
short_desc="Advanced and secure webserver for Unix"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-2"
homepage="https://hiawatha-webserver.org"
distfiles="$homepage/files/$pkgname-$version.tar.gz"
checksum=39b662300ed0168c8825ccbc4af7522194a118eb9007e690387c7618e56bcf09
configure_args="
-DLOG_DIR=/var/log/hiawatha
-DPID_DIR=/run
-DENABLE_SSL=ON
-DWEBROOT_DIR=/var/www
-DWORK_DIR=/var/lib/hiawatha
-DUSE_SYSTEM_POLARSSL=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"
post_install() {
vsv hiawatha
}