27 lines
747 B
Bash
27 lines
747 B
Bash
# Template file for 'hiawatha'
|
|
pkgname=hiawatha
|
|
version=10.8.1
|
|
revision=1
|
|
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
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
|
|
makedepends="libxslt-devel mbedtls-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=0f013afc71284bab7267b0d80a51133a8fd4248575dbcbabf338cf826095cda8
|
|
conf_files="/etc/$pkgname/*.conf /etc/$pkgname/*.xslt"
|
|
|
|
LDFLAGS="-lmbedtls -lmbedx509 -lmbedcrypto"
|
|
|
|
post_install() {
|
|
vsv hiawatha
|
|
}
|