31 lines
737 B
Bash
31 lines
737 B
Bash
# Template file for 'h2o'
|
|
pkgname=h2o
|
|
version=2.0.6
|
|
revision=1
|
|
build_style=cmake
|
|
conf_files="/etc/h2o.conf"
|
|
system_accounts="h2o"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel libressl-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=bf4f2dc3b2f1a6886eb7ee6487cb6ba4b206700055a1d2ca9c2a99a82d21055b
|
|
|
|
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
|
|
}
|
|
}
|