summaryrefslogtreecommitdiff
path: root/repo/cmake/cmake.xibuild
blob: 9cafa3f025a95c50ec4d7227cd0fe590a6f2008d (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.24.2
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 
}