void-packages/srcpkgs/h2o/template

23 lines
635 B
Text

# Template file for 'h2o'
pkgname=h2o
version=1.0.1
revision=2
build_style=cmake
conf_files="/etc/h2o.conf"
system_accounts="h2o"
make_dirs="/var/log/h2o 0750 root root"
hostmakedepends="cmake"
makedepends="libressl-devel>=2.1.4 libyaml-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=c8454c191104876ebaca1351fa52dbf1bb19c5f998ae959010c1a533a1bef827
post_install() {
vsv h2o
vconf ${FILESDIR}/h2o.conf
vlicense LICENSE
}