void-packages/srcpkgs/h2o/template
2015-09-19 10:29:35 +02:00

23 lines
614 B
Bash

# Template file for 'h2o'
pkgname=h2o
version=1.4.5
revision=1
build_style=cmake
conf_files="/etc/h2o.conf"
system_accounts="h2o"
make_dirs="/var/log/h2o 0750 root root"
hostmakedepends="cmake"
makedepends="libressl-devel"
depends="perl"
short_desc="An optimized HTTP server with support for HTTP/1.x and HTTP/2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/h2o/h2o"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=0f60e8d35afad61afc284a7abfa9c9a3b976e8f9faed3f0966fb34056e2e138d
post_install() {
vsv h2o
vconf ${FILESDIR}/h2o.conf
vlicense LICENSE
}