summaryrefslogtreecommitdiff
path: root/homebrew/airspy/.beer
blob: b411ce21d215a05b3a672e1cb8139cdab21ce4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
}