#!/bin/sh # Build Mutt for Slackware (by volkerdi@slackware.com) CWD=`pwd` VERSION=1.2.5.1 cd /tmp tar xzvf $CWD/mutt-$VERSION.tar.gz cd mutt-$VERSION CFLAGS=-O2 ./configure \ --prefix=/usr \ --sysconfdir=/etc/mutt \ --with-mailpath=/var/spool/mail \ --with-charmaps=/usr/share/i18n/charmaps \ --enable-pop \ --enable-imap \ --enable-locales-fix \ i386-slackware-linux make make install mkdir -p /install cat $CWD/slack-desc > /install/slack-desc # Don't mv the mutt docs directory, because mutt uses 'em. # Make a link instead. ( cd /usr/doc ; rm -rf mutt-$VERSION ; ln -sf mutt mutt-$VERSION )