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

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