void-packages/srcpkgs/h2o/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
628 B
Bash

# Template file for 'h2o'
pkgname=h2o
version=1.1.1
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 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=381b430cb92b7a5993be1e3f07ea7b7fef1018f01d4e337b68c7b57813516de7
post_install() {
vsv h2o
vconf ${FILESDIR}/h2o.conf
vlicense LICENSE
}