-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcmake.yaml
61 lines (54 loc) · 1.39 KB
/
cmake.yaml
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
52
53
54
55
56
57
58
59
60
61
package:
name: cmake
version: 3.27.9
epoch: 0
description: "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
copyright:
- license: BSD-3-Clause
environment:
contents:
packages:
- build-base
- busybox
- bzip2-dev
- ca-certificates-bundle
- expat-dev
- libarchive-dev
- libuv-dev
- ncurses-dev
- nghttp2-dev
- openssl-dev
- rhash-dev
- samurai
- wolfi-base
- xz-dev
- zlib-dev
pipeline:
- uses: fetch
with:
uri: https://www.cmake.org/files/v3.27/cmake-${{package.version}}.tar.gz
expected-sha256: 609a9b98572a6a5ea477f912cffb973109ed4d0a6a6b3f9e2353d2cdc048708e
# Depending on system cppdap, jsoncpp, and curl would create a circular
# dependency; thus, we use bundled ones.
- runs: |
./bootstrap \
--prefix=/usr \
--mandir=/share/man \
--datadir=/share/cmake \
--docdir=/share/doc/cmake \
--system-libs \
--no-system-cppdap \
--no-system-jsoncpp \
--no-system-curl \
--generator=Ninja \
--parallel=$(nproc)
- runs: |
ninja
- runs: |
DESTDIR="${{targets.destdir}}" ninja install
- uses: strip
update:
enabled: true
manual: true # be careful upgrading cmake as it is a core package
release-monitor:
identifier: 306