aboutsummaryrefslogtreecommitdiff
path: root/src/tesserae/cmake.nim
blob: 91317c4b60e74e81b835f2bc93a9505b4fde84ca (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
import .. / lapis

tessera "cmake":
  source: "https://cmake.org/files/v4.1/cmake-4.1.0.tar.gz"
  patches: @[""]
  dependencies: @[
    "libarchive",
    "libuv",
    "nghttp2",
    "gcc"
  ]
  build: @[
    "sed -i '/\"lib64\"/s/64//' Modules/GNUInstallDirs.cmake",
    """
    ./bootstrap --prefix=/usr        \
                --system-libs        \
                --mandir=/share/man  \
                --no-system-jsoncpp  \
                --no-system-cppdap   \
                --no-system-librhash \
                --docdir=/share/doc/cmake-4.1.0
    """,
    "make",
    "make install"
  ]
  result: "cmake"
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.