2020-03-04 10:04:42 +00:00
|
|
|
# Template file for 'c-blosc'
|
|
|
|
pkgname=c-blosc
|
|
|
|
version=1.17.1
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DPREFER_EXTERNAL_ZLIB=1 -DPREFER_EXTERNAL_LZ4=1
|
|
|
|
-DPREFER_EXTERNAL_SNAPPY=1 -DPREFER_EXTERNAL_ZSTD=1"
|
2020-03-04 22:44:53 +00:00
|
|
|
makedepends="zlib-devel liblz4-devel snappy-devel libzstd-devel"
|
2020-03-04 10:04:42 +00:00
|
|
|
short_desc="Blocking, shuffling and lossless compression library"
|
|
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
|
|
license="BSD-3-Clause, MIT"
|
|
|
|
homepage="https://www.blosc.org"
|
|
|
|
distfiles="https://github.com/Blosc/c-blosc/archive/v${version}.tar.gz"
|
|
|
|
checksum=19a6948b579c27e8ac440b4f077f99fc90e7292b1d9cb896bec0fd781d68fba2
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSES/BLOSC.txt
|
|
|
|
vlicense LICENSES/BITSHUFFLE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
c-blosc-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|