libmpcdec - Musepack decoder library ChangeLog

HOWTO


# libmpcdec 1.2.6
# ===============
cd
test -f installed/libmpcdec-1.2.6.tar.bz2 &&
mv installed/libmpcdec-1.2.6.tar.bz2 .
test ! -f libmpcdec-1.2.6.tar.bz2 &&
wget http://files2.musepack.net/source/libmpcdec-1.2.6.tar.bz2

# Verify tarball w/ md5sum:
echo "7f7a060e83b4278acf4b77d7a7b9d2c0  libmpcdec-1.2.6.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmpcdec-*" -exec rm -r {} \;
tar xjvf ~/libmpcdec-1.2.6.tar.bz2
cd libmpcdec-1.2.6
test $UID = 0 && chown -R root:root .
./configure
make

# Become root to install it
su

# Remove old library files, install it
rm -f /usr/local/lib/libmpcdec.*
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libmpcdec-*.tar.*
mv libmpcdec-1.2.6.tar.bz2 installed/


# If you ever want to uninstall libmpcdec, this should do it:
# ('make uninstall' should do it, if you have the configure'd source)
cd
su
test -d src/libmpcdec-* && ( cd src/libmpcdec-* ; make uninstall )
rm -f /usr/local/lib/libmpcdec.*
( cd /usr/local/include ; rm -f config_types.h decoder.h huffman.h math.h \
mpcdec.h reader.h requant.h streaminfo.h )
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libmpcdec-*" -exec rm -r {} \;
rm -f ~/installed/libmpcdec-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2008-04-10 12:58am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]