summaryrefslogtreecommitdiff
path: root/homebrew/gnutar/.beer
blob: fbdc7eb3e6f2fc8453c455eafd128dc02d335b62 (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
36
37
38
39
40
{
    "name": "GnuTar",
    "description": "GNU version of the tar archiving utility",
    "url": "https://ftp.gnu.org/gnu/tar/tar-1.32.tar.gz",
    "mirror": "https://ftpmirror.gnu.org/tar/tar-1.32.tar.gz",
    "homepage": "https://www.gnu.org/software/tar/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "gettext",
            "build-depend": true
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV[\"gl_cv_func_getcwd_abort_bug\"] = \"no\" if MacOS.version == :el_capitan",
        "args = %W[",
        "--prefix=#{prefix}",
        "--mandir=#{man}",
        "--program-prefix=g",
        "]",
        "system \"./bootstrap\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\", \"install\"",
        "(libexec/\"gnubin\").install_symlink bin/\"gtar\" =>\"tar\"",
        "(libexec/\"gnuman/man1\").install_symlink man1/\"gtar.1\" => \"tar.1\"",
        "libexec.install_symlink \"gnuman\" => \"man\""
    ],
    "version": "1.32",
    "file": "gnu-tar.rb"
}