void-packages/srcpkgs/lz4/template
2019-08-29 10:57:56 +02:00

37 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.2
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=658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc
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
}
}