# libmpeg3 1.8
# ============
# If you ever want to uninstall libmpeg3 or just clean up files from
# an old version before installing the new one, skip down to the bottom for
# instructions
# Get it
cd
test -f installed/libmpeg3-1.8-src.tar.bz2 &&
mv installed/libmpeg3-1.8-src.tar.bz2 .
test ! -f libmpeg3-1.8-src.tar.bz2 &&
wget http://downloads.sf.net/heroines/libmpeg3-1.8-src.tar.bz2
# Extract it
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmpeg3-*" -exec rm -r {} \;
tar xjvf ~/libmpeg3-1.8-src.tar.bz2
cd libmpeg3-1.8
test $UID = 0 && chown -R root:root .
# The configure used here is not an autoconf one.
# Right now it just verifies that you have nasm installed as either
# /usr/bin/nasm or /usr/local/bin/nasm.
# There's something screwey with the Makefile, so we create the OBJDIR for
# it - otherwise make would fail, the first time
mkdir -p `uname -m`