# Slackware 9.0, 9.1, and 10.0's 'flac' packages include version 1.1.0,
# 10.1's includes 1.1.1, 10.2, 11.0, and 12.0's include 1.1.2
# If you ever want to uninstall FLAC, or just remove files from an old
# version before installing a new one, skip down to the bottom for
# instructions.
# Prerequisites:
# doxygen
# xmms >= 0.9.5.1
# libogg
# iconv
# docbook2man (Slackware includes this in sgml-tools/linuxdoc-tools)
# nasm
# Below, I blow away any files that may be left over from previous versions.
# If you run a multi-user system where an application that is linked against
# one of the libraries, you may want to skip that part and clean up old
# files manually.
#
# Also, if you do this and you upgrade a major version, and libFLAC.so.4
# used to be there, but libFLAC.so.7 is what's there now, anything that was
# dynamically linked against .4 will stop working until you rebuild it (or
# symlink .7 to .4, which isn't always good enough).
cd
test -f installed/flac-1.2.1.tar.gz && mv installed/flac-1.2.1.tar.gz .
test ! -f flac-1.2.1.tar.gz &&
wget http://download.sf.net/flac/flac-1.2.1.tar.gz