Add emacs dep build recipe
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 23 Nov 2020 09:32:10 +0000 (04:32 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 23 Nov 2020 09:32:10 +0000 (04:32 -0500)
deps/emacs/Makefile [new file with mode: 0644]
pkgs-ubuntu.list

diff --git a/deps/emacs/Makefile b/deps/emacs/Makefile
new file mode 100644 (file)
index 0000000..9c6c26f
--- /dev/null
@@ -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)
index 1b6440a..a30b10b 100644 (file)
@@ -106,8 +106,9 @@ graphicsmagick-imagemagick-compat  # provides /usr/bin/convert
 
 cvs
 
-# Emacs
-emacs-nox
+# Emacs build deps
+libgif-dev
+libtiff-dev
 
 # Vim
 vim
This page took 0.020935 seconds and 4 git commands to generate.