New package: c-blosc-1.17.1
This commit is contained in:
parent
d8adec4ee3
commit
43cd4db8fa
4 changed files with 43 additions and 0 deletions
|
@ -3788,3 +3788,4 @@ libcbor.so.0 libcbor-0.5.0_1
|
|||
libfido2.so.1 libfido2-1.3.0_1
|
||||
libjanet.so.1.7 janet-1.7.0_1
|
||||
libOpenImageDenoise.so.0 openimagedenoise-1.1.0_1
|
||||
libblosc.so.1 c-blosc-1.17.1_1
|
||||
|
|
1
srcpkgs/c-blosc-devel
Symbolic link
1
srcpkgs/c-blosc-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
c-blosc
|
11
srcpkgs/c-blosc/patches/musl.patch
Normal file
11
srcpkgs/c-blosc/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- bench/bench.c.orig 2020-03-04 10:56:43.124243579 +0100
|
||||
+++ bench/bench.c 2020-03-04 10:57:31.571747005 +0100
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <sys/time.h>
|
||||
#elif defined(__unix__) || defined(__HAIKU__)
|
||||
#include <unistd.h>
|
||||
- #if defined(__GLIBC__)
|
||||
+ #if !defined(__HAIKU__)
|
||||
#include <time.h>
|
||||
#else
|
||||
#include <sys/time.h>
|
30
srcpkgs/c-blosc/template
Normal file
30
srcpkgs/c-blosc/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# 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"
|
||||
makedepends="zlib-devel lz4-devel snappy-devel zstd-devel"
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue