summaryrefslogtreecommitdiff
path: root/homebrew/dc3dd/.beer
blob: 2988bdb74fbed73cd31370500bebd26894e61a97 (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
{
    "name": "Dc3dd",
    "description": "Patched GNU dd that is intended for forensic acquisition of data",
    "url": "https://downloads.sourceforge.net/project/dc3dd/dc3dd/7.2.646/dc3dd%207.2.646/dc3dd-7.2.646.zip",
    "mirror": null,
    "homepage": "https://sourceforge.net/projects/dc3dd/",
    "depends": [
        {
            "depend": "gettext",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "gettext-pm",
            "url": "https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/gettext-1.07.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "system \"unzip dc3dd-#{version}.zip ; true\"",
        "cd \"dc3dd-#{version}\" do",
        "ENV.prepend_create_path \"PERL5LIB\", buildpath/\"gettext-pm/lib/perl5\"",
        "resource(\"gettext-pm\").stage do",
        "inreplace \"Makefile.PL\", \"$libs = \\\"-lintl\\\"\",",
        "\"$libs = \\\"-L/usr/local/opt/gettext/lib -lintl\\\"\"",
        "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{buildpath}/gettext-pm\"",
        "system \"make\"",
        "system \"make\", \"install\""
    ],
    "version": "7.2.646",
    "file": "dc3dd.rb"
}