summaryrefslogtreecommitdiff
path: root/repo/cmake/cmake.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/cmake/cmake.xibuild')
-rw-r--r--repo/cmake/cmake.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/cmake/cmake.xibuild b/repo/cmake/cmake.xibuild
new file mode 100644
index 0000000..01be547
--- /dev/null
+++ b/repo/cmake/cmake.xibuild
@@ -0,0 +1,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
+}