void-packages/srcpkgs/h2o/template

33 lines
783 B
Bash
Raw Normal View History

2015-01-04 23:57:53 +01:00
# Template file for 'h2o'
pkgname=h2o
2015-10-26 16:54:56 +01:00
version=1.5.2
2015-09-19 10:29:35 +02:00
revision=1
2015-01-04 23:57:53 +01:00
build_style=cmake
conf_files="/etc/h2o.conf"
system_accounts="h2o"
make_dirs="/var/log/h2o 0750 root root"
2015-10-06 08:44:46 +02:00
hostmakedepends="cmake pkg-config"
makedepends="zlib-devel libressl-devel"
2015-01-20 08:56:50 +01:00
depends="perl"
2015-01-04 23:57:53 +01:00
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"
2015-10-26 16:54:56 +01:00
checksum=1daf205b86e0a5ce96937db733ab02205a4f57dcb9ded8507fc7dd0a00c00dc2
2015-01-04 23:57:53 +01:00
post_install() {
vsv h2o
vconf ${FILESDIR}/h2o.conf
vlicense LICENSE
}
2015-10-26 16:54:56 +01:00
h2o-devel_package() {
short_desc+=" - development files"
depends="${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
}
}