void-packages/srcpkgs/hiawatha/template

27 lines
748 B
Bash
Raw Normal View History

2014-12-30 21:44:21 +01:00
# Template file for 'hiawatha'
pkgname=hiawatha
2015-11-26 07:47:53 +01:00
version=10.0
2015-07-27 11:25:33 +02:00
revision=1
2014-12-30 21:44:21 +01:00
build_style=cmake
hostmakedepends="cmake"
2015-02-24 11:31:42 +01:00
makedepends="libxslt-devel mbedtls-devel"
2014-12-30 21:44:21 +01:00
short_desc="Advanced and secure webserver for Unix"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-12-30 21:44:21 +01:00
license="GPL-2"
homepage="https://hiawatha-webserver.org"
distfiles="$homepage/files/$pkgname-$version.tar.gz"
2015-11-26 07:47:53 +01:00
checksum=a39d1f771d818025538bd1231f42001bf29a1ebf55ce3d82afb7305cc251dd0e
2014-12-30 21:44:21 +01:00
configure_args="
-DLOG_DIR=/var/log/hiawatha
-DPID_DIR=/run
-DWEBROOT_DIR=/var/www
-DWORK_DIR=/var/lib/hiawatha
2015-02-24 11:31:42 +01:00
-DUSE_SYSTEM_MBEDTLS=ON
2015-01-20 10:18:27 +01:00
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
2015-11-26 08:20:00 +01:00
conf_files="/etc/$pkgname/*.conf /etc/$pkgname/*.xslt"
2015-07-27 11:25:33 +02:00
LDFLAGS="-lmbedtls -lmbedx509 -lmbedcrypto"
2014-12-30 21:44:21 +01:00
post_install() {
vsv hiawatha
}