summaryrefslogtreecommitdiff
path: root/homebrew/amap/.beer
blob: dcfaaf2d5f8d59cf78e164948b33a23635607c3b (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
{
    "name": "Amap",
    "description": "Perform application protocol detection",
    "url": "https://www.thc.org/releases/amap-5.4.tar.gz",
    "mirror": "https://downloads.sourceforge.net/project/slackbuildsdirectlinks/amap/amap-5.4.tar.gz",
    "homepage": "https://www.thc.org/thc-amap/",
    "depends": [
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "openssl = Formula[\"openssl\"]",
        "inreplace \"configure\" do |s|",
        "s.gsub! 'SSL_IPATH=\"\"', \"SSL_IPATH=\\\"#{openssl.opt_include}/openssl\\\"\"",
        "s.gsub! 'SSL_PATH=\"\"', \"SSL_PATH=\\\"#{openssl.opt_lib}\\\"\"",
        "s.gsub! 'CRYPTO_PATH=\"\"', \"CRYPTO_PATH=\\\"#{openssl.opt_lib}\\\"\""
    ],
    "version": "5.4",
    "file": "amap.rb"
}