void-packages/srcpkgs/hiawatha/template

32 lines
875 B
Plaintext

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.9
revision=5
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 <g@s01.de>"
license="GPL-2"
homepage="https://hiawatha-webserver.org"
distfiles="$homepage/files/$pkgname-$version.tar.gz"
checksum=0c8c716c51592d81f9aaec5fb69bbabafa82a13565f0000156d5e3112ea990c8
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/hiawatha"
conf_files="
/etc/hiawatha/hiawatha/cgi-wrapper.conf
/etc/hiawatha/hiawatha/mimetype.conf
/etc/hiawatha/hiawatha/error.xslt
/etc/hiawatha/hiawatha/index.xslt
/etc/hiawatha/hiawatha/hiawatha.conf"
post_install() {
vsv hiawatha
}