diff options
Diffstat (limited to 'homebrew/airspy/.make.sh-auto')
-rw-r--r-- | homebrew/airspy/.make.sh-auto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/airspy/.make.sh-auto b/homebrew/airspy/.make.sh-auto new file mode 100644 index 000000000..47bde6add --- /dev/null +++ b/homebrew/airspy/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +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" && cd build +cmake .. *args +make DESTDIR=${PKG_DEST} install |