summaryrefslogtreecommitdiff
path: root/repo/cmake/cmake.xibuild
blob: fc08885ca1b960fab7b5fbb78e3a5a8675883924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

MAKEDEPS="make gcc"
DEPS="curl libarchive jsoncpp libuv rhash openssl"

PKG_VER=3.22.1
SOURCE=https://github.com/Kitware/CMake/releases/download/v$PKG_VER/cmake-$PKG_VER.tar.gz
DESC="A cross-platform open-source make system"

build () {
    ./configure --prefix=/usr
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}