summaryrefslogtreecommitdiff
path: root/homebrew/bsdsfv/.beer
blob: 3170e459c3d10bffd27160adde03125b12cfb25d (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": "Bsdsfv",
    "description": "SFV utility tools",
    "url": "https://downloads.sourceforge.net/project/bsdsfv/bsdsfv/1.18/bsdsfv-1.18.tar.gz",
    "mirror": null,
    "homepage": "https://bsdsfv.sourceforge.io/",
    "depends": [],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "--- a/bsdsfv.c\t2012-09-25 07:31:03.000000000 -0500\n",
                "+++ b/bsdsfv.c\t2012-09-25 07:31:08.000000000 -0500\n",
                "@@ -44,5 +44,5 @@\n",
                " typedef struct sfvtable {\n",
                "\tchar filename[FNAMELEN];\n",
                "-\tint crc;\n",
                "+\tunsigned int crc;\n",
                "\tint found;\n",
                " } SFVTABLE;\n"
            ]
        }
    ],
    "install": [
        "bin.mkpath",
        "inreplace \"Makefile\" do |s|",
        "s.change_make_var! \"INSTALL_PREFIX\", prefix",
        "s.change_make_var! \"INDENT\", \"indent\"",
        "s.gsub! \"\t${INSTALL_PROGRAM} bsdsfv ${INSTALL_PREFIX}/bin\", \"\t${INSTALL_PROGRAM} bsdsfv #{bin}/\""
    ],
    "version": "1.18",
    "file": "bsdsfv.rb"
}