void-packages/srcpkgs/brotli/template
Nathan Owens 0ef3015fa4 brotli: add patch to avoid corruption
Patch Ensures decompression consumes all input,
to avoid a corrupt stream

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-06 11:03:02 +01:00

25 lines
637 B
Bash

# Template file for 'brotli'
pkgname=brotli
version=1.0.7
revision=2
build_style=cmake
short_desc="Generic-purpose lossless compression algorithm"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/google/brotli"
distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
checksum=4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c
post_install() {
vlicense LICENSE
}
brotli-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}