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

github.setup        osmocom libosmo-dsp 6561cfa8da6ddba35294ede452c1e5771b56e806
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20170318
checksums           rmd160 46c7be94a9cc7a68a35bd05135af360961105603 \
                    sha256 03f9218a4f2f02481163bdc807b56693e03f72ff1b429e059a4d69175ce35dad \
                    size   41977

description         A library with SDR DSP primitives
long_description    {*}${description}
maintainers         {michaelld @michaelld} openmaintainer

categories          science comms
homepage            http://sdr.osmocom.org/
license             GPL-2+
platforms           darwin macosx

depends_build-append port:pkgconfig
depends_lib-append	port:fftw-3-single \
                    path:bin/doxygen:doxygen

use_autoreconf      yes
autoreconf.args     -vi

# remove top-level include path, such that internal headers are used
# instead of any already-installed ones.

configure.cppflags-delete -I${prefix}/include

# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.

configure.ldflags-delete -L${prefix}/lib

# build verbosely

build.post_args-append AM_DEFAULT_VERBOSITY=1
