# -*- 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: Portfile 107275 2013-06-25 01:19:38Z michaelld@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                rtl-sdr
version             20130612
categories          science comms
license             GPL-2
maintainers         michaelld openmaintainer
description         ${name} allows using devices with a RTL2832U chipset as software defined radio (SDR)
long_description    ${description}
homepage            http://sdr.osmocom.org/trac/wiki/rtl-sdr

fetch.type          git
git.url             git://git.osmocom.org/rtl-sdr.git
git.branch          8c3a99c8f7a88d7d2a05845d4b20cfcdacac4054

depends_build-append port:pkgconfig port:doxygen
depends_lib         port:libusb

livecheck.url       http://cgit.osmocom.org/cgit/rtl-sdr/log/
livecheck.version   ${git.branch}
livecheck.regex     id=(\[a-f0-9\]+).>HEAD<
