From 4418d5bf0a482e05d004e4e7d3bee7f67f9deba5 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sun, 20 Dec 2020 18:27:14 -0500 Subject: [PATCH] Replace cmake package with from-src recipe --- deps/cmake/Makefile | 8 ++++++++ pkgs-ubuntu.list | 7 +++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 deps/cmake/Makefile diff --git a/deps/cmake/Makefile b/deps/cmake/Makefile new file mode 100644 index 0000000..8466df8 --- /dev/null +++ b/deps/cmake/Makefile @@ -0,0 +1,8 @@ +N_PROC := $(shell nproc) + +.PHONY: all +all: + mkdir -p data + cd data && wget -c https://github.com/Kitware/CMake/releases/download/v3.19.2/cmake-3.19.2.tar.gz + cd data && tar vxzf cmake-3.19.2.tar.gz + cd data/cmake-3.19.2 && ./bootstrap && make -j$(N_PROC) && make -j$(N_PROC) install diff --git a/pkgs-ubuntu.list b/pkgs-ubuntu.list index 23d6711..9f035ca 100644 --- a/pkgs-ubuntu.list +++ b/pkgs-ubuntu.list @@ -6,8 +6,11 @@ htop zsh zsh-syntax-highlighting tig -cmake # added to build neovim -cmake-doc + +# Use src recipe to install cmake +#cmake # added to build neovim +#cmake-doc + make libtool-bin # added to build neovim apt-file -- 2.20.1