void-packages/srcpkgs/hiawatha/template
2015-05-11 09:12:09 +02:00

31 lines
812 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.13
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="libxslt-devel mbedtls-devel"
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=b90bec9ce5ec5d03321e0db137f08385b91e9cfcf22e30fa6b42d705739f4ba8
configure_args="
-DLOG_DIR=/var/log/hiawatha
-DPID_DIR=/run
-DENABLE_SSL=ON
-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"
post_install() {
vsv hiawatha
}