31 lines
812 B
Bash
31 lines
812 B
Bash
# Template file for 'hiawatha'
|
|
pkgname=hiawatha
|
|
version=9.12
|
|
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=393c28b17cfd5c554e68e6a30b0ee5581759b5045c5788cd13f5e00df7b8849a
|
|
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
|
|
}
|