51615147a0
Changes from 1.17.1 to 1.18.1 - Fixed the copy of the leftovers of a chunk when its size is not a multiple of the typesize. Although this is a very unusual situation, it can certainly happen (e.g. https://github.com/Blosc/python-blosc/issues/220).
33 lines
902 B
Makefile
33 lines
902 B
Makefile
# $NetBSD: Makefile,v 1.10 2020/04/23 07:30:27 adam Exp $
|
|
|
|
DISTNAME= blosc-1.18.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Blosc/}
|
|
GITHUB_PROJECT= c-blosc
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://blosc.org/
|
|
COMMENT= Blocking, shuffling, and lossless compression library
|
|
LICENSE= modified-bsd
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= pkg-config
|
|
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/blosc
|
|
TEST_TARGET= test
|
|
|
|
CMAKE_ARGS+= -DPREFER_EXTERNAL_LZ4=ON
|
|
CMAKE_ARGS+= -DPREFER_EXTERNAL_SNAPPY=ON
|
|
CMAKE_ARGS+= -DPREFER_EXTERNAL_ZLIB=ON
|
|
CMAKE_ARGS+= -DPREFER_EXTERNAL_ZSTD=ON
|
|
|
|
CFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
PKGCONFIG_OVERRIDE+= blosc.pc.in
|
|
|
|
.include "../../archivers/lz4/buildlink3.mk"
|
|
.include "../../archivers/zstd/buildlink3.mk"
|
|
.include "../../devel/snappy/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|