#!/bin/sh CWD=`pwd` cd /tmp tar xzvf $CWD/fdutils-5.3.tar.gz cd fdutils-5.3 ./configure i386-slackware-linux --prefix=/usr --sysconfdir=/etc make LDFLAGS=-s install mkdir -p /usr/doc/fdutils-5.3 cp -a COPYING CREDITS Changelog INSTALL doc/FAQ.html doc/README \ /usr/doc/fdutils-5.3 chown root.root /usr/doc/fdutils-5.3/* chmod 644 /usr/doc/fdutils-5.3/* cd /tmp tar xzvf $CWD/mtools-3.9.6.tar.gz cd mtools-3.9.6 ./configure i386-slackware-linux --prefix=/usr --sysconfdir=/etc make LDFLAGS=-s install mkdir -p /usr/doc/mtools-3.9.6 cp -a COPYING Changelog INSTALL README Release.notes TODO \ /usr/doc/mtools-3.9.6 chown root.root /usr/doc/mtools-3.9.6/* chmod 644 /usr/doc/mtools-3.9.6/* # These are obsolete and/or cruft: rm -f /usr/bin/MAKEFLOPPIES /usr/bin/lz /usr/bin/mcheck /usr/bin/mcomp \ /usr/bin/mxtar /usr/bin/tgz /usr/bin/uz /usr/man/man1/makefloppies.1 if [ -r /etc/mtools.conf ]; then touch /etc/mtools.conf fi