hackrf 2014.08.1 (new formula)

Closes Homebrew/homebrew#37629.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Frederik De Bleser 2015-03-12 10:00:09 +01:00 committed by Mike McQuaid
parent 18b232b54a
commit 9c1fa7ecbc

20
Formula/hackrf.rb Normal file
View file

@ -0,0 +1,20 @@
class Hackrf < Formula
homepage "https://github.com/mossmann/hackrf"
url "https://github.com/mossmann/hackrf/archive/v2014.08.1.tar.gz"
sha256 "5ab1641a9af766c476e04bfe2f7cbe3d7edd22c324453c22e58e3f0ef51082eb"
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libusb"
def install
cd "host" do
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end
test do
shell_output("hackrf_transfer", 1)
end
end