void-packages/srcpkgs/lz4/template

38 lines
949 B
Bash

# Template file for 'lz4'
pkgname=lz4
reverts="131_1 130_1 129_1 128_1 127_1 126_1 125_1 124_1 123_1 122_1"
version=1.9.1
revision=1
bootstrap=yes
build_style=gnu-makefile
make_check_target=test
short_desc="LZ4 compression utilities"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause, GPL-2.0-or-later"
homepage="https://lz4.github.io/lz4"
changelog="https://raw.githubusercontent.com/lz4/lz4/master/NEWS"
distfiles="https://github.com/lz4/lz4/archive/v${version}.tar.gz"
checksum=f8377c89dad5c9f266edc0be9b73595296ecafd5bfa1000de148096c50052dc4
post_install() {
vlicense lib/LICENSE
}
liblz4_package() {
short_desc="LZ4 compression library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
liblz4-devel_package() {
short_desc="LZ4 compression library - development files"
depends="liblz4-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}