# linc 1.0.3
# ==========
# Slackware 9.0's 'linc' package includes 1.0.1, 9.1's includes 1.0.3
# Slackware >= 10.0 don't include linc.
# Prerequisites:
# sed
# grep
# pkg-config
# glib-2.0 >= 1.3.11
# gtk-doc (Slack 9.0 includes 'sgml-tools' in extra, 9.1, 10.0, 10.1, and
# 10.2 include it as a regular package in 'ap', they're all version 1.0.9)
cd
test -f installed/linc-1.0.3.tar.bz2 && mv installed/linc-1.0.3.tar.bz2 .
test ! -f linc-1.0.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/linc/1.0/linc-1.0.3.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "linc-*" -exec rm -r {} \;
tar xjvf ~/linc-1.0.3.tar.bz2
cd linc-1.0.3
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
# I got an error building it while make was making it's way through the docs
# subdirectory, so I cd'd into docs, I ran 'make -i' (ignore errors), then I
# 'cd ..' and re-ran make again. If I'm missing a doc or two, that's OK
# with me. If it's not OK with you, you may want to give Google a try.
make
# Become root to install it
su
removepkg linc
rm -f /usr/lib/liblinc.*
make install
ldconfig