diff options
Diffstat (limited to 'homebrew/airspy/.beer')
-rw-r--r-- | homebrew/airspy/.beer | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/airspy/.beer b/homebrew/airspy/.beer new file mode 100644 index 000000000..b411ce21d --- /dev/null +++ b/homebrew/airspy/.beer @@ -0,0 +1,35 @@ +{ + "name": "Airspy", + "description": "The usemode driver and associated tools for airspy", + "url": "https://github.com/airspy/airspyone_host/archive/v1.0.9.tar.gz", + "mirror": null, + "homepage": "https://airspy.com/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "libusb", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = std_cmake_args", + "libusb = Formula[\"libusb\"]", + "args << \"-DLIBUSB_INCLUDE_DIR=#{libusb.opt_include}/libusb-1.0\"", + "args << \"-DLIBUSB_LIBRARIES=#{libusb.opt_lib}/libusb-1.0.dylib\"", + "mkdir \"build\" do", + "system \"cmake\", \"..\", *args", + "system \"make\", \"install\"" + ], + "version": "1.0.9", + "file": "airspy.rb" +}
\ No newline at end of file |