# libmspack
# =========
# The latest release is 2006-09-20, I was unable to compile it
# with gcc 4.1.2 Below that are instructions for building it
# from CVS, which I was able to compile.
# libmspack 2006-09-20
# ====================
cd
test -f installed/libmspack-0.0.20060920alpha.tar.gz &&
mv installed/libmspack-0.0.20060920alpha.tar.gz .
test ! -f libmspack-0.0.20060920alpha.tar.gz &&
wget http://www.kyz.uklinux.net/downloads/libmspack-0.0.20060920alpha.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmspack-*" -exec rm -r {} \;
tar xzvf ~/libmspack-0.0.20060920alpha.tar.gz
cd libmspack-0.0.20060920alpha
test $UID = 0 && chown -R root:root .
./configure
make
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "libmspack-*" -exec rm -r {} \;
# Either get it from CVS, or update it if you already have it
test -d ./libmspack && ( cd libmspack ; cvs update )
test ! -d ./libmspack &&
( cvs -d:pserver:anonymous@libmspack.cvs.sourceforge.net:/cvsroot/\
libmspack login
# Hit enter for the password
cvs -z3 -d:pserver:anonymous@libmspack.cvs.sourceforge.net:/\
cvsroot/libmspack co -P libmspack )
cd libmspack
test $UID = 0 && chown -R root:root .
cd
mkdir -p -m 0700 installed
rm -f installed/libmspack-*.tar.*
echo "libmspack was installed from CVS" > installed/libmspack.README
echo "Source is in ~/src/libmspack" >> installed/libmspack.README
# If you ever want to uninstall libmspack, this should do it:
cd
su
test -d src/libmspack-* && ( cd src/libmspack-* ; make uninstall )
rm -f /usr/local/include/mspack.h /usr/local/lib/libmspack.*
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libmspack-*" -exec rm -r {} \;
rm -f ~/installed/libmspack-*.tar.*