void-packages/srcpkgs/hiawatha/template

33 lines
857 B
Bash

# Template file for 'hiawatha'
pkgname=hiawatha
version=9.13
revision=2
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=6ae204199849340f8ec5a1becbc3f3d80f8d5280f1feff8a12a25f8bc40dc225
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() {
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
vsv hiawatha
}