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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.1

platforms           darwin macosx
categories          science
license             BSD
maintainers         {ra1nb0w @ra1nb0w} openmaintainer

description         Fast GF(256) Cauchy MDS Block Erasure Codec in C++
long_description    {*}${description}

github.setup        f4exb cm256cc fbdffb2e74d926fa6ecf586268690496fe69483e
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20210209-[string range ${github.version} 0 7]
checksums           rmd160  aea08a187d4357346870b05c996c1caecce1b6d1 \
                    sha256  4cf3a3759988ff0a17a949bc1fc661f73503b8e157d273b950af840bb3c04569 \
                    size    57014
revision            0

compiler.cxx_standard 2011

test.run            yes
test.cmd            ./cm256_test
