summaryrefslogtreecommitdiff
path: root/homebrew/liblas/.beer
blob: fb1afa79890d4e27492f5569276a90fafe29a46a (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
{
    "name": "Liblas",
    "description": "C/C++ library for reading and writing the LAS LiDAR format",
    "url": "https://download.osgeo.org/liblas/libLAS-1.8.1.tar.bz2",
    "mirror": null,
    "homepage": "https://liblas.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "gdal",
            "build-depend": false
        },
        {
            "depend": "libgeotiff",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/libLAS/libLAS/commit/49606470.patch?full_index=1",
            "strip": "1"
        },
        {
            "url": "https://github.com/libLAS/libLAS/commit/ec10e274.diff?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "ENV.cxx11",
        "mkdir \"macbuild\" do",
        "ENV[\"Boost_INCLUDE_DIR\"] = \"#{HOMEBREW_PREFIX}/include\"",
        "ENV[\"Boost_LIBRARY_DIRS\"] = \"#{HOMEBREW_PREFIX}/lib\"",
        "system \"cmake\", \"..\", *std_cmake_args,",
        "\"-DWITH_GDAL=ON\",",
        "\"-DWITH_GEOTIFF=ON\"",
        "system \"make\"",
        "system \"make\", \"test\"",
        "system \"make\", \"install\""
    ],
    "version": "1.8.1",
    "file": "liblas.rb"
}