-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
28 lines (25 loc) · 979 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'hiawatha'
pkgname=hiawatha
version=10.12
revision=5
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 -DUSE_SYSTEM_NGHTTP2=ON
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
makedepends="libxslt-devel mbedtls-devel nghttp2-devel"
short_desc="Advanced and secure webserver for Unix"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://hiawatha-webserver.org"
distfiles="https://hiawatha-webserver.org/files/${pkgname}-${version}.tar.gz"
checksum=61bf41146c51244769984135529fcffd0f6cb92be18dc12d460effc42f19f50d
conf_files="/etc/${pkgname}/*.conf /etc/${pkgname}/*.xslt"
make_dirs="/var/log/hiawatha 0755 root root"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
XBPS_DISTFILES_MIRROR+=" https://hiawatha-webserver.org/files/hiawatha-${version%%.*}/"
post_install() {
vsv hiawatha
}