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

PortSystem          1.0
PortGroup           cmake 1.0
PortGroup           github 1.0

github.setup        greatscottgadgets libbtbb 2014-02-R2
categories          net security
platforms           darwin
maintainers         gmail.com:dominicgs
license             GPL-2+

description         Bluetooth Baseband Decoding Library

long_description \
    LibBTBB is a Bluetooth Baseband processing library that supports Basic \
    Rate and Bluetooth Smart (BLE) packets. It is used by the Ubertooth and \
    gr-bluetooth packet sniffer implementations.

homepage            https://github.com/greatscottgadgets/libbtbb

checksums           rmd160  0adc5d59e611509cdcf8959be8b6e31704529e48 \
                    sha256  04a187b6f17836437e5f9deecb0b643c75ec0eafce671e373d1d4c13fc104984

configure.dir       ${workpath}/build
build.dir           ${configure.dir}

post-extract {
    file mkdir ${configure.dir}
}

configure.post_args ../${name}-${version}
configure.args-append -DPACKAGE_MANAGER=1