summaryrefslogtreecommitdiff
path: root/homebrew/jasper/.beer
blob: 519f9432a14b72ef22d93d33d129ebc2d82f8eae (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": "Jasper",
    "description": "Library for manipulating JPEG-2000 images",
    "url": "https://github.com/mdadams/jasper/archive/version-2.0.16.tar.gz",
    "mirror": null,
    "homepage": "https://www.ece.uvic.ca/~frodo/jasper/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "jpeg",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "mkdir \"build\" do",
        "glut_lib = \"#{MacOS.sdk_path}/System/Library/Frameworks/GLUT.framework\"",
        "system \"cmake\", \"..\", \"-DGLUT_glut_LIBRARY=#{glut_lib}\", *std_cmake_args",
        "system \"make\"",
        "system \"make\", \"test\"",
        "system \"make\", \"install\"",
        "system \"make\", \"clean\"",
        "system \"cmake\", \"..\", \"-DGLUT_glut_LIBRARY=#{glut_lib}\", \"-DJAS_ENABLE_SHARED=OFF\", *std_cmake_args",
        "system \"make\"",
        "lib.install \"src/libjasper/libjasper.a\""
    ],
    "version": "2.0.16",
    "file": "jasper.rb"
}