void-packages/srcpkgs/lz4/template

39 lines
969 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.4
revision=1
bootstrap=yes
build_style=gnu-makefile
make_check_target=test
checkdepends="python3"
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/dev/NEWS"
distfiles="https://github.com/lz4/lz4/archive/v${version}.tar.gz"
checksum=0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b
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
}
}