Skip to content

Commit 421a3d1

Browse files
committed
Download emacs source archives.
1 parent d3f2c33 commit 421a3d1

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

scripts/deploy.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,20 @@ apt-get update
2727

2828
# Install Emacs build dependencies.
2929

30-
apt-get install -y libncurses-dev libxpm-dev libxaw7-dev libtiff4-dev libpng-dev libgif-dev autoconf automake texinfo
30+
apt-get install -y libncurses-dev libxpm-dev libxaw7-dev \
31+
libtiff4-dev libpng-dev libgif-dev autoconf \
32+
automake texinfo curl
33+
34+
# Build Emacs.
35+
36+
EMACS_DIRECTORY=/usr/local/emacs
37+
EMACS_SRC=$EMACS_DIRECTORY/src
38+
EMACS_VERSIONS=(emacs-24.3 emacs-24.4 emacs-24.5)
39+
40+
mkdir -p $EMACS_DIRECTORY $EMACS_SRC
41+
42+
for version in ${EMACS_VERSIONS[@]}
43+
do
44+
arch=$EMACS_SRC/$version
45+
curl http://ftp.gnu.org/gnu/emacs/${version}.tar.xz -o $arch -z $arch -s
46+
done

0 commit comments

Comments
 (0)