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

DEPS=(curl libarchive jsoncpp libuv rhash)

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 
}