# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        google crc32c 1.1.2
github.tarball_from archive
revision            0

categories          devel
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         CRC32C implementation with support for CPU-specific acceleration instructions
long_description    {*}${description}

checksums           rmd160  1f6313b82a5fe8df76d56d843f9eae006a9d41ef \
                    sha256  ac07840513072b7fcebda6e821068aa04889018f24e10e46181068fb214d7e56 \
                    size    29819

compiler.cxx_standard 2011

configure.args-append \
                    -DBUILD_SHARED_LIBS=1 \
                    -DCRC32C_BUILD_TESTS=0 \
                    -DCRC32C_BUILD_BENCHMARKS=0 \
                    -DCRC32C_USE_GLOG=0
