librtlsdr 0.5.3

Closes Homebrew/homebrew#26493.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Elliot Saba 2014-02-07 01:00:21 -08:00 committed by Adam Vandenberg
parent 425ed97199
commit c38352a4df
1 changed files with 16 additions and 0 deletions

16
Formula/librtlsdr.rb Normal file
View File

@ -0,0 +1,16 @@
require "formula"
class Librtlsdr < Formula
homepage "http://sdr.osmocom.org/trac/wiki/rtl-sdr"
url "https://github.com/steve-m/librtlsdr/archive/v0.5.3.tar.gz"
sha1 "f6f20f7b0562a6d3f7b9ff7bff38a15bff175982"
depends_on "pkg-config" => :build
depends_on "cmake" => :build
depends_on "libusb"
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end