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

categories          science
license             MIT
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Soapy SDR module for RTL-SDR
long_description    {*}${description}

github.setup        pothosware SoapyRTLSDR 0.3.0 soapy-rtlsdr-
revision            2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  88bb56f7842b9ce4de9f32fe1df0545c543a6724 \
                    sha256  5fe2841548af43011381ef3da3f75be134245ccc215c12b0fea7f900760ce98f \
                    size    14389

compiler.cxx_standard 2011

depends_build-append \
    path:bin/pkg-config:pkgconfig

depends_lib-append \
    port:SoapySDR \
    port:rtl-sdr

patchfiles          clang.patch \
                    cmake_minimum_required.patch

cmake.build_type    Release
