# cdrdao 1.2.2
# ============
# Slackware 9.0 and 9.1's 'cdrdao' packages include version 1.1.7, 10.0's,
# 10.1's, 10.2's include 1.1.9, and 11.0's includes 1.2.1
# Prerequisites:
# lame >= 3.92 (optional; for toc2mp3)
# pkg-config
# libsigc++ (optional; for gcdmaster)
# gtkmm >= 2.4 (optional; for gcdmaster)
# libgnomeuimm-2.0 >= 2.6 (optional; for gcdmaster)
# libvorbis (optional; for Ogg Vorbis support)
# libmad (optional; for MP3 support)
# If gtkmm or libgnomeuimm are not installed it will disable building of
# gcdmaster. If you don't want it to even try, pass --without-xdao to
# configure.
# This failed to build for me with Slackware's kernel-headers package from
# 'testing' (for kernel 2.6) installed, but was OK with the 2.4
# kernel-headers package that is installed by default.
cd
test -f installed/cdrdao-1.2.2.tar.bz2 && mv installed/cdrdao-1.2.2.tar.bz2 .
test ! -f cdrdao-1.2.2.tar.bz2 &&
wget http://download.sf.net/cdrdao/cdrdao-1.2.2.tar.bz2
# If you ever want to uninstall cdrdao, this should do it:
cd
su
test -d src/cdrdao-* && ( cd src/cdrdao-* ; make uninstall )
( cd /usr/bin ; rm -f cdrdao cue2toc toc2cddb toc2cue toc2mp3 )
( cd /usr/man/man1 ; rm -f cue2toc.1 cdrdao.1 )
test -d /usr/share/cdrdao && rm -r /usr/share/cdrdao
exit
find ~/src -maxdepth 1 -type d -name "cdrdao-*" -exec rm -r {} \;
rm -f ~/installed/cdrdao-*.tar.*