913cd5c35a
Initially ported to avoid the bundled copy in net/tg_owt, but other ports can probably pick it up as well. Feedback OK sthen tb --- Collection of CRC32C implementations that dispatches to one suitable to the hardware. CRC32C is the cyclic redundancy check that uses the iSCSI polynomial specified in RFC 3720.
30 lines
569 B
Makefile
30 lines
569 B
Makefile
COMMENT = CRC32 implementation in hardware
|
|
CATEGORIES = devel
|
|
|
|
GH_ACCOUNT = google
|
|
GH_PROJECT = crc32c
|
|
GH_TAGNAME = 1.1.2
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# BSD 3-clause
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
SHARED_LIBS += crc32c 0.0 # 1.1.0
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} m
|
|
|
|
MODULES = devel/cmake
|
|
|
|
CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=ON
|
|
|
|
# all three expect bundled but nonexistent sources
|
|
CONFIGURE_ARGS += -DCRC32C_BUILD_TESTS=OFF \
|
|
-DCRC32C_BUILD_BENCHMARKS=OFF \
|
|
-DCRC32C_USE_GLOG=OFF
|
|
|
|
.include <bsd.port.mk>
|