summaryrefslogtreecommitdiff
path: root/homebrew/libidn2/.beer
blob: 3edc49826056ba3d024472bb1e26330fa0403ad6 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "name": "Libidn2",
    "description": "International domain name library (IDNA2008, Punycode and TR46)",
    "url": "https://ftp.gnu.org/gnu/libidn/libidn2-2.1.1a.tar.gz",
    "mirror": "https://ftpmirror.gnu.org/libidn/libidn2-2.1.1a.tar.gz",
    "homepage": "https://www.gnu.org/software/libidn/#libidn2",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "gengetopt",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "gettext",
            "build-depend": false
        },
        {
            "depend": "libunistring",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "if build.head?",
        "ENV[\"GEM_HOME\"] = buildpath/\"gem_home\"",
        "system \"gem\", \"install\", \"ronn\"",
        "ENV.prepend_path \"PATH\", buildpath/\"gem_home/bin\"",
        "system \"./bootstrap\"",
        "end",
        "system \"./configure\", \"--disable-dependency-tracking\",",
        "\"--disable-silent-rules\",",
        "\"--prefix=#{prefix}\",",
        "\"--with-libintl-prefix=#{Formula[\"gettext\"].opt_prefix}\",",
        "\"--with-packager=Homebrew\"",
        "system \"make\", \"install\""
    ],
    "version": "2.1.1",
    "file": "libidn2.rb"
}