#!/bin/sh CWD=`pwd` cd /tmp tar xyvf $CWD/xemacs-21.1.14.tar.bz2 tar xzvf $CWD/xemacs-21.1.14-info.tar.gz # This package isn't needed, since the compile process will rebuild # all the .elc files from the .el files. So, we save space (and # make sure to have .elc files that match our .el files) by not # including the -elc tarball. The result is the same. # tar xzvf $CWD/xemacs-21.1.14-elc.tar.gz rm -rf /usr/X11R6/lib/xemacs mkdir -p /usr/X11R6/lib/xemacs ( cd /usr/X11R6/lib/xemacs tar xyvf $CWD/xemacs-sumo-2001-02-04.tar.bz2 tar xyvf $CWD/xemacs-mule-sumo-2001-02-04.tar.bz2 chown -R root.root . ) cd xemacs-21.1.14 ./configure --prefix=/usr/X11R6 \ --cflags="-O3 -Wall -Wno-switch" \ --with-mule \ --with-xim=xlib \ --with-wnn \ --with-pop \ --dynamic=yes \ i386-slackware-linux # Using --with-canna requires canna lib, not updated since '96. # Do many people use this still? If there's a real need for this, # email volkerdi@slackware.com and it will be considered the next # time I update this. Thanks! # --with-canna # Build and install: make LDFLAGS=-s make LDFLAGS=-s install-only make LDFLAGS=-s gzip-el # Add extra docs: rm -rf /usr/doc/xemacs-21.1.14 mkdir -p /usr/doc/xemacs-21.1.14 cp -a BUGS CHANGES-beta COPYING ChangeLog GETTING.GNU.SOFTWARE \ INSTALL Installation Installation.el PROBLEMS README README.packages \ /usr/doc/xemacs-21.1.14 chown -R root.root /usr/doc/xemacs-21.1.14 ( cd /usr/doc/xemacs-21.1.14 ln -sf /usr/X11R6/lib/xemacs-21.1.14/etc etc )