From: Siraaj Khandkar Date: Mon, 23 Nov 2020 09:32:10 +0000 (-0500) Subject: Add emacs dep build recipe X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=555542f35618fddf55eedfceae173ce0131814c4;p=khome.git Add emacs dep build recipe --- diff --git a/deps/emacs/Makefile b/deps/emacs/Makefile new file mode 100644 index 0000000..9c6c26f --- /dev/null +++ b/deps/emacs/Makefile @@ -0,0 +1,18 @@ +# https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html + +VERSION := 27.1 +SRC_DIR := emacs-$(VERSION) +SRC_TARBALL := $(SRC_DIR).tar.gz + +.PHONY: configure_build_install +configure_build_install: data/$(SRC_DIR) + cd data/$(SRC_DIR) && ./configure + cd data/$(SRC_DIR) && make -j$(shell nproc) + cd data/$(SRC_DIR) && make -j$(shell nproc) install + +data/$(SRC_DIR): $(SRC_TARBALL) + cd data && tar -vxzf $(SRC_TARBALL) + +$(SRC_TARBALL): + mkdir -p data + cd data && wget -c https://ftp.gnu.org/pub/gnu/emacs/$(SRC_TARBALL) diff --git a/pkgs-ubuntu.list b/pkgs-ubuntu.list index 1b6440a..a30b10b 100644 --- a/pkgs-ubuntu.list +++ b/pkgs-ubuntu.list @@ -106,8 +106,9 @@ graphicsmagick-imagemagick-compat # provides /usr/bin/convert cvs -# Emacs -emacs-nox +# Emacs build deps +libgif-dev +libtiff-dev # Vim vim