summaryrefslogtreecommitdiff
path: root/homebrew/libharu/.beer
blob: e89cc3ed2191160e77fbf5a339f1b3fc5aefc3d5 (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
{
    "name": "Libharu",
    "description": "Library for generating PDF files",
    "url": "https://github.com/libharu/libharu/archive/RELEASE_2_3_0.tar.gz",
    "mirror": null,
    "homepage": "http://www.libharu.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "libpng",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "system \"./buildconf.sh\", \"--force\"",
        "args = %W[",
        "--disable-debug",
        "--disable-dependency-tracking",
        "--prefix=#{prefix}",
        "--with-png=#{Formula[\"libpng\"].opt_prefix}",
        "]",
        "args << \"--with-zlib=#{MacOS.sdk_path}/usr\" if MacOS.sdk_path_if_needed",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "2_3_0",
    "file": "libharu.rb"
}