2015-01-04 22:57:53 +00:00
|
|
|
# Template file for 'h2o'
|
|
|
|
pkgname=h2o
|
2016-09-15 05:25:16 +00:00
|
|
|
version=2.0.4
|
2016-05-09 07:12:11 +00:00
|
|
|
revision=1
|
2015-01-04 22:57:53 +00:00
|
|
|
build_style=cmake
|
|
|
|
conf_files="/etc/h2o.conf"
|
|
|
|
system_accounts="h2o"
|
2016-05-01 08:33:56 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2015-10-06 06:44:46 +00:00
|
|
|
makedepends="zlib-devel libressl-devel"
|
2015-01-20 07:56:50 +00:00
|
|
|
depends="perl"
|
2015-01-04 22:57:53 +00: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"
|
2016-09-15 05:25:16 +00:00
|
|
|
checksum=c0efa18f0ffb0f68ee4b60a6ed1feb54c770458c59e48baa2d9d0906ef9c68c0
|
2015-01-04 22:57:53 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv h2o
|
|
|
|
vconf ${FILESDIR}/h2o.conf
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
2015-10-26 15:54:56 +00:00
|
|
|
|
|
|
|
h2o-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${makedepends}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
}
|
|
|
|
}
|