blob: e2c22f0b428b25fd84094db768c36f56aedf1183 (
plain) (
blame)
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
|
#!/bin/bash
name=cmake
version=3.15.5
revision=0
sources=(
"https://github.com/Kitware/CMake/releases/download/v${version}/${name}-${version}.tar.gz"
)
depends=()
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
}
function build() {
./bootstrap --prefix="${prefix}"
make -j${maxjobs}
}
function package() {
make install DESTDIR="${destdir}"
}
|