33 lines
904 B
Makefile
33 lines
904 B
Makefile
# $NetBSD: Makefile,v 1.9 2020/01/25 16:54:23 minskim Exp $
|
|
|
|
DISTNAME= blosc-1.17.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"
|