# JACK 0.103.0 (Jack Audio Connection Kit)
# ============
# If you ever want to uninstall JACK or clean up files from an old
# version before installing a new one, skip down to the bottom
cd
test -f installed/jack-audio-connection-kit-0.103.0.tar.gz &&
mv installed/jack-audio-connection-kit-0.103.0.tar.gz .
test ! -f jack-audio-connection-kit-0.103.0.tar.gz &&
wget http://download.sf.net/jackit/jack-audio-connection-kit-0.103.0.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "jack-audio-connection-kit-*" \
-exec rm -r {} \;
tar xzvf ~/jack-audio-connection-kit-0.103.0.tar.gz
cd jack-audio-connection-kit-0.103.0
test $UID = 0 && chown -R root:root .
# If you're using anything other than ext2 for your /tmp, the developers
# recommend using a tmpfs filesystem for jack's temp files. You can mount
# one (assuming your kernel has the support) like this:
# mkdir -p /mnt/ramfs
# mount -t tmpfs tmpfs /mnt/ramfs
# then pass it to configure below with --with-default-tmpdir=/mnt/ramfs
# To mount the tmpfs on boot-up, add this line to /etc/fstab:
# tmpfs /mnt/ramfs tmpfs defaults 0 0
# You can mount /tmp onto a tmpfs filesystem too if you like, if you have
# enough RAM for all temp files to be in there.
#
# To tell it to use that, pass --with-default-tmpdir=/mnt/ramfs
# I had to add --disable-portaudio, it wouldn't build against
# PortAudio v19 (either of the v19s)