IGNOREPATH=/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.4.2.1i PROGNAME="Mutt $VERSION" DESC="\ The mutt mail client. \n\ \n\ Mutt is a small but very powerful text-based MIME mail client. Mutt \n\ is highly configurable, and is well suited to the mail power user with \n\ advanced features like key bindings, keyboard macros, mail threading, \n\ regular expression searches and a powerful pattern matching language \n\ for selecting groups of messages." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://www.mutt.org PKGNAME=mutt-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/mutt-$VERSION.tar.gz cd mutt-1.4.2.1/ chown -R root.root . CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc/mutt \ --with-mailpath=/var/spool/mail \ --enable-pop \ --enable-imap \ --with-ssl \ --enable-locales-fix \ --without-wc-funcs \ s390-slackware-linux make } install() { make install DESTDIR=/package-mutt mkdir -p /package-mutt/usr/doc ( cd /package-mutt/usr/doc rm -rf mutt-$VERSION ; ln -sf mutt mutt-$VERSION ) mv /package-mutt/etc/mutt/Muttrc /package-mutt/etc/mutt/Muttrc.new ( cd /package-mutt/usr/man for dir in 1 5; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) } attributes() { chown -R root.bin $PKG/package-mutt/usr/bin } special() { cd $PKG/ mv package-mutt/* ./ rmdir package-mutt/ cd $CTL cat $CWD/slack-desc > slack-desc zcat $CWD/doinst.sh.gz >> doinst.sh sed -e 's%package-mutt/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }