summaryrefslogtreecommitdiff
path: root/repo/devel/cmake.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/cmake.xibuild')
-rw-r--r--repo/devel/cmake.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/devel/cmake.xibuild b/repo/devel/cmake.xibuild
index 1b9959e..10e4485 100644
--- a/repo/devel/cmake.xibuild
+++ b/repo/devel/cmake.xibuild
@@ -2,11 +2,15 @@
DEPS=(curl libarchive jsoncpp libuv rhash)
-SOURCE=https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1.tar.gz
+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
}