From 555542f35618fddf55eedfceae173ce0131814c4 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 23 Nov 2020 04:32:10 -0500 Subject: [PATCH] Add emacs dep build recipe --- deps/emacs/Makefile | 18 ++++++++++++++++++ pkgs-ubuntu.list | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 deps/emacs/Makefile 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 -- 2.20.1