From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/devel/cmake.xibuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'repo/devel/cmake.xibuild') 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 } -- cgit v1.2.1