# -*- 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
github.setup ptrkrysik gr-gsm e24860f9c018b761d3380d9ceaea0dff46ead6f4
checksums rmd160 ea2541592ffc6fb315b842b9e5b565a7102404bd \
sha256 6f3abdce6e85b8330d56a297751216332164d22f447c8143046d19554698e177 \
# overload the github livecheck branch.
# when master is more advanced, comment this out.
github.livecheck.branch development
# allow gr-gsm to work with both gnuradio and gnuradio-devel ...
depends_lib-append path:lib/libgnuradio-runtime.dylib:gnuradio
# ... but not with gnuradio-next
if {![catch {set installed [lindex [registry_active gnuradio-next] 0]}]} {
# gnuradio-next is installed; this version of gr-gsm does not work with gnuradio-next
ui_msg "\nError: ${name} requires the gnuradio or gnuradio-devel port, and will not work with the gnuradio-next port. deactivate gnuradio-next, and then install or activate gnuradio or gnuradio-devel.\n"
return -code error "Invalid port dependency: gnuradio-next"
maintainers {michaelld @michaelld} openmaintainer
description Provides augmented functionality for GNU Radio: a set of tools for receiving information transmitted by GSM equipment/devices.
long_description ${description}
path:lib/libvolk.dylib:volk \
patchfiles-append patch-docs_CMakeLists.txt.diff
# fix allowing for CMAKE_MODULES_DIR
patchfiles-append patch-CMakeLists.txt.diff
# add Boost::thread linkage
patchfiles-append patch-add-boost-thread.diff
# do VPATH (out of source tree) build
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
# specify the Python dependencies
# specify the Python version to use
-DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/Headers \
-DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/Python \
-DGR_PYTHON_DIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages \