# libexif
# =======
# Slackware 9.0's 'libexif' package includes version 0.5.9, 9.1 and 10.0's
# include 0.5.12, 10.1's includes 0.6.11, and 10.2's includes 0.6.12
# There are two versions of libexif here, the latest in the 0.6.x series and
# the latest in the 0.5.x series. The latter is for apps like gphoto2 that
# don't build against 0.6.x - though the last time I built it, it worked
# just fine with 0.6.x As of libexif-gtk version 0.3.5, it will build
# against libexif 0.5.x and 0.6.x
# libexif-gtk is at the bottom
# libexif 0.6.13
# ==============
cd
test -f installed/libexif-0.6.13.tar.bz2 &&
mv installed/libexif-0.6.13.tar.bz2 .
test ! -f libexif-0.6.13.tar.bz2 &&
wget http://download.sf.net/libexif/libexif-0.6.13.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libexif-*" -exec rm -r {} \;
tar xjvf ~/libexif-0.6.13.tar.bz2
cd libexif-0.6.13
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-nls
make
# Become root to install it
su
removepkg libexif
rm -f /usr/lib/libexif.*
make install
ldconfig