summaryrefslogtreecommitdiff
path: root/homebrew/libspectre/.beer
blob: 90e470f26fc8e6fa3f8c32e386b37d2f7238f99a (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
{
    "name": "Libspectre",
    "description": "Small library for rendering Postscript documents",
    "url": "https://libspectre.freedesktop.org/releases/libspectre-0.2.8.tar.gz",
    "mirror": null,
    "homepage": "https://wiki.freedesktop.org/www/Software/libspectre/",
    "depends": [
        {
            "depend": "ghostscript",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/Homebrew/formula-patches/raw/master/libspectre/libspectre-0.2.7-gs918.patch",
            "strip": "1"
        }
    ],
    "install": [
        "ENV.append \"CFLAGS\", \"-I#{Formula[\"ghostscript\"].opt_include}/ghostscript\"",
        "ENV.append \"LIBS\", \"-L#{Formula[\"ghostscript\"].opt_lib}\"",
        "system \"./configure\", \"--disable-dependency-tracking\",",
        "\"--disable-silent-rules\",",
        "\"--prefix=#{prefix}\"",
        "system \"make\", \"install\""
    ],
    "version": "0.2.8",
    "file": "libspectre.rb"
}