summaryrefslogtreecommitdiff
path: root/homebrew/cdecl/.beer
blob: cabe9ade89964c6d6510b806ec8b8e33b37572c2 (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": "Cdecl",
    "description": "Turn English phrases to C or C++ declarations",
    "url": "https://cdecl.org/files/cdecl-blocks-2.5.tar.gz",
    "mirror": null,
    "homepage": "https://cdecl.org/",
    "depends": [],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "inreplace \"cdecl.c\", \"getline\", \"cdecl_getline\"",
        "bin.mkpath",
        "man1.mkpath",
        "ENV.append \"CFLAGS\", \"-DBSD -DUSE_READLINE -std=gnu89\"",
        "system \"make\", \"CC=#{ENV.cc}\",",
        "\"CFLAGS=#{ENV.cflags}\",",
        "\"LIBS=-lreadline\",",
        "\"BINDIR=#{bin}\",",
        "\"MANDIR=#{man1}\",",
        "\"install\""
    ],
    "version": "2.5",
    "file": "cdecl.rb"
}