void-packages/srcpkgs/lz4/template
2018-09-14 16:04:25 +02:00

37 lines
1 KiB
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.8.3
revision=1
build_style=gnu-makefile
make_check_target="test"
short_desc="The LZ4 compression utilities"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.lz4.org/"
license="BSD-2-Clause, GPL-2"
distfiles="https://github.com/lz4/lz4/archive/v${version}.tar.gz"
checksum=33af5936ac06536805f9745e0b6d61da606a1f8b4cc5c04dd3cbaca3b9b4fc43
liblz4_package() {
replaces="lz4<${version}_${revision}"
short_desc="LZ4 compression library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
liblz4-devel_package() {
replaces="lz4-devel<${version}_${revision}"
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
}
}
lz4-devel_package() {
build_style=meta
short_desc="LZ4 compression library - development files (transitional dummy package)"
depends="liblz4-devel>=${version}_${revision}"
}