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

MAKEDEPS="make"
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 
}