Linux HOWTOs

About | Home | Search


ERROR: Slooooow dooooown... this page load was delayed.

HOWTO: audiofile
Description: API for audio file formats like aiff, wav, snd, au
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# audiofile 0.2.6
# ===============
# Slackware 9.0 and 9.1's 'audiofile' packages include version 0.2.3, 10.0
# and 10.1's include 0.2.6

# Prerequisites:
# gawk
# pkg-config

cd
test -f installed/audiofile-0.2.6.tar.gz &&
 mv installed/audiofile-0.2.6.tar.gz .
test ! -f audiofile-0.2.6.tar.gz &&
 wget http://www.68k.org/~michael/audiofile/audiofile-0.2.6.tar.gz

# Verify tarball w/ md5sum:
echo "9c1049876cd51c0f1b12c2886cce4d42  audiofile-0.2.6.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "94a6ab8e5122bc1971cf186e5a52d032811c9bc5  audiofile-0.2.6.tar.gz" | \
 sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 27DF9AAB > /dev/null 2>&1 || gpg --recv-keys 27DF9AAB ) &&
 wget -nc http://www.68k.org/~michael/audiofile/audiofile-0.2.6.tar.gz.asc &&
 gpg --verify audiofile-0.2.6.tar.gz.asc && rm audiofile-0.2.6.tar.gz.asc

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "audiofile-*" -exec rm -r {} \;
tar xzvf ~/audiofile-0.2.6.tar.gz
cd audiofile-0.2.6
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make

# Become root to install it
su
removepkg audiofile
rm -f /usr/lib/libaudiofile.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/audiofile-*.tar.*
mv audiofile-0.2.6.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>