void-packages/srcpkgs/lz4/template
2018-05-10 18:04:30 +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.2
revision=2
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=0963fbe9ee90acd1d15e9f09e826eaaf8ea0312e854803caf2db0a6dd40f4464
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}"
}