33 lines
887 B
Bash
33 lines
887 B
Bash
# Template file for 'llhttp'
|
|
|
|
# When this package is updated, nodejs may need to be updated
|
|
# or at least a revbump in the same pull request since they work in-sync.
|
|
|
|
pkgname=llhttp
|
|
version=9.2.1
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Port of http_parser to llparse"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://llhttp.org/"
|
|
# _always_ use releases. Those have the C code generated, otherwise
|
|
# we'd have a dep loop nodejs<->llhttp
|
|
distfiles="https://github.com/nodejs/llhttp/archive/release/v${version}.tar.gz"
|
|
checksum=3c163891446e529604b590f9ad097b2e98b5ef7e4d3ddcf1cf98b62ca668f23e
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
}
|
|
|
|
llhttp-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|