# -*- 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

github.setup        blastbay voclib ffccd73b84e2a41b1f06d85ea703fd481ae8c9bb
github.tarball_from archive
version             20201001
revision            0

categories          audio devel
platforms           any
supported_archs     noarch
# Upstream offers a choice of public domain or MIT No Attribution.
license             public-domain
maintainers         {@herbygillot gmail.com:herby.gillot} openmaintainer

description         Single-header vocoder library
long_description    Voclib is a portable C implementation of a traditional channel \
                    vocoder, with configurable bands, filters, reaction time, \
                    and formant shifting.

checksums           rmd160  2236a8b6be834ef268301b58fc2be7e090acbe84 \
                    sha256  9d2966d43cc834c09dd83ca3680134f7c230c6d87002beaead7aa1f4cf8f02ab \
                    size    38433

use_configure       no
build {}

destroot {
    xinstall -d ${destroot}${prefix}/include
    xinstall -m 0644 -W ${worksrcpath} voclib.h \
        ${destroot}${prefix}/include

    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} README.md LICENSE.txt \
        ${destroot}${prefix}/share/doc/${name}
}
