# gmime's binaries are uuencode and uudecode, and you most likely already
# have a uuencode and uudecode on your system which originally came from the
# GNU sharutils package. In Slackware, sharutils is part of the 'bin'
# package. Below, we install gmime into the /usr/local prefix. So, either
# make sure you always run the appropriate one with it's full path
# (/usr/bin/uudecode = sharutils, /usr/local/bin/uudecode = gmime), rename the
# old ones to *.old, or just remove the old ones. Here are all of the files
# from the old ones, you can delete/backup/rename/whatever these and remove
# the lines that refer to them from the /var/adm/packages/bin-* package file.
#
# /usr/bin/uudecode
# /usr/bin/uuencode
# /usr/man/man1/uuencode.1.gz
# /usr/man/man1/uudecode.1.gz
# /usr/man/man5/uuencode.5.gz
#
# If you ever decide you want to put the original ones back, they're in the
# appropriate bin-*.tgz tarball at ftp://ftp.slackware.com/:
# /pub/slackware/slackware-10.1/slackware/a/
# /pub/slackware/slackware-10.0/slackware/a/
# /pub/slackware/slackware-9.1/slackware/a/
# /pub/slackware/slackware-9.0/slackware/a/
# /pub/slackware/slackware-8.1/slackware/a/
# and you may also want to check for one in
# /pub/slackware/slackware-x.x/patches/. ...or you can install sharutils,
# which you can download here:
# http://ftp.gnu.org/gnu/sharutils/
cd
test -f installed/gmime-2.0.14.tar.gz && mv installed/gmime-2.0.14.tar.gz .
test ! -f gmime-2.0.14.tar.gz &&
wget http://spruce.sourceforge.net/gmime/sources/v2.0/gmime-2.0.14.tar.gz
mkdir -p -m 0700 src
cd src
find -type d -maxdepth 1 -name "gmime-*" -exec rm -r {} \;
tar xzvf ~/gmime-2.0.14.tar.gz
cd gmime-2.0.14
./configure
make
# Become root to install it
su
rm -f /usr/local/lib/libgmime-2.0.*
make install
ldconfig