# -*- 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           legacysupport 1.1
PortGroup           luarocks_org 1.0

# O_CLOEXEC
legacysupport.newest_darwin_requires_legacy 10

name                lua-cqueues
set reldate         20200726
version             ${reldate}.54
revision            0
luarocks.rock       cqueues-${version}-0.src.rock
luarocks.uploader   daurnimator
license             MIT
maintainers         nomaintainer

description         Continuation Queues: embeddable asynchronous networking, threading and notification framework
long_description    {*}${description} for Lua on Unix.

checksums           rmd160  5e6d97e16ca0730f536c4bfff73a5a4551538d30 \
                    sha256  32f24c9b7da39cac819703dbe880ac3b8c5c9892b002942f8cedaa9366fa5358 \
                    size    512683

patchfiles-append   patch-fix-32-bit.diff

luarocks.worksrcdir cqueues-rel-${reldate}

compiler.thread_local_storage yes
