diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/cmake.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/cmake.xibuild')
-rw-r--r-- | repo/devel/cmake.xibuild | 6 |
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 } |