description Coroutine Oriented Portable Asynchronous Services for Lua
long_description Copas is a dispatcher based on coroutines that can be used by TCP/IP \
servers. It uses LuaSocket as the interface with the TCP/IP stack.
homepage http://www.keplerproject.org/copas
master_sites https://github.com/downloads/keplerproject/copas
checksums md5 104b4325a6187eeb4b139181b6477558 \
sha1 14fd64df94099af1f29d30f09777562803778da7 \
rmd160 f1cdddfc588c1b5f4aa5a8b8796a8351aad6b8bf
distname copas-${version}
patchfiles patch-Makefile.diff
reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/Makefile
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}