Skip to content

Commit

Permalink
inspectrum: new port
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelld committed Mar 21, 2018
1 parent 1aea83a commit f88f65b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions science/inspectrum/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# -*- 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 cmake 1.0
PortGroup github 1.0
PortGroup qt5 1.0
PortGroup cxx11 1.1

github.setup miek inspectrum 11853b64062bda4f81926613f15d1d9654c227c8
version 20180320
checksums rmd160 16c45c6fcc214de8fcf978ec7ac29989800d1cf9 \
sha256 9c0a3d4a90b4de599fabe3dd4335d5dbd20757a9e192a743e99b31e5eb1b01a4 \
size 109201

categories science comms
maintainers {michaelld @michaelld} openmaintainer
description Provides augmented functionality for GNU Radio: inspectrum realizes signal analysis abilities in typical block-structure
long_description ${description}
license GPL-3
platforms darwin

depends_build-append port:pkgconfig

# do VPATH (out of source tree) build

cmake.out_of_source yes

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

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

# specify Qt5 dependency

qt5.depends_component qtbase

# specify FFTW dependency

depends_lib-append port:fftw-3-single

configure.args-append \
-DFFTW_INCLUDES=${prefix}/include \
-DFFTW_LIBRARIES=${prefix}/lib/libfftw3f.dylib

# specify liquid-dsp dependency

depends_lib-append port:liquid-dsp

configure.args-append \
-DLIQUID_INCLUDES=${prefix}/include \
-DLIQUID_LIBRARIES=${prefix}/lib/libliquid.dylib

0 comments on commit f88f65b

Please sign in to comment.