StreamVByte is an integer compression technique that applies SIMD instructions (vectorization) to Google's varint approach. The net result is faster than other byte-oriented compression techniques.
38 lines
864 B
Makefile
38 lines
864 B
Makefile
PORTNAME= streamvbyte
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4.1
|
|
CATEGORIES= archivers
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Integer compression with SIMD based on Google's varint
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_powerpc= Test fails on big-endian systems
|
|
BROKEN_powerpc64= Test fails on big-endian systems
|
|
|
|
USES= cmake
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GH_ACCOUNT= lemire
|
|
|
|
CFLAGS+= -fPIC # For vbz-compression using static lib
|
|
|
|
PLIST_FILES= include/streamvbyte.h \
|
|
include/streamvbyte_zigzag.h \
|
|
include/streamvbytedelta.h \
|
|
lib/libstreamvbyte.so \
|
|
lib/libstreamvbyte.so.0.0.1 \
|
|
lib/libstreamvbyte_static.a
|
|
|
|
# so version taken from basic Makefile
|
|
post-stage:
|
|
${RLN} ${STAGEDIR}${PREFIX}/lib/libstreamvbyte.so \
|
|
${STAGEDIR}${PREFIX}/lib/libstreamvbyte.so.0.0.1
|
|
|
|
do-test:
|
|
cd ${WRKDIR}/.build && ./unit
|
|
|
|
.include <bsd.port.mk>
|