# Depends on libcddb
# Depends on cdparanoia

# Exit on error:
set -e

wget http://littlesvr.ca/asunder/releases/asunder-3.0.1.tar.bz2
tar xf asunder-3.0.1.tar.bz2
cd asunder-3.0.1
./configure --prefix=
make install
cd ..
rm -rf asunder-3.0.1
rm asunder-3.0.1.tar.bz2

echo
echo Now make sure that:
echo - the user who will run asunder is part of the cdrom group
echo '- CD-ROM Device is set to /dev/sr0 in Preferences > General'
echo

exit 0
