blob: b6e96ce6da667a03f7acae3b4e0e0a2f98058c2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.8 2019/12/15 14:22:58 adam 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= http://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"
|