31 lines
759 B
Bash
31 lines
759 B
Bash
# Template file for 'h2o'
|
|
pkgname=h2o
|
|
version=2.2.5
|
|
revision=2
|
|
build_style=cmake
|
|
conf_files="/etc/h2o.conf"
|
|
system_accounts="h2o"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libressl-devel libuv-devel zlib-devel"
|
|
depends="perl"
|
|
short_desc="Optimized HTTP server with support for HTTP/1.x and HTTP/2"
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
license="MIT"
|
|
homepage="https://h2o.examp1e.net/"
|
|
distfiles="https://github.com/h2o/h2o/archive/v${version}.tar.gz"
|
|
checksum=eafb40aa2d93b3de1af472bb046c17b2335c3e5a894462310e1822e126c97d24
|
|
|
|
post_install() {
|
|
vsv h2o
|
|
vconf ${FILESDIR}/h2o.conf
|
|
vlicense LICENSE
|
|
}
|
|
|
|
h2o-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|