# kdelibs 3.5.1
# =============
# Slackware 8.1's 'kdelibs' package includes version 3.0.1, 9.0's includes
# 3.1, 9.1's includes 3.1.4, 10.0's includes 3.2.3, 10.1's includes 3.3.2,
# 10.2's includes 3.4.2, and 11.0's includes 3.5.4
#
# Slackware 10.2 includes KDE 3.4.2
# Slackware 11.0 includes KDE 3.5.4
find src/kde src -maxdepth 1 -type d -name "kdelibs-*" \
-exec rm -r {} \;
cd src/kde
tar xjvf ~/kdelibs-3.5.1.tar.bz2
cd kdelibs-3.5.1
test $UID = 0 && chown -R root:root .
# If you do have fam installed and would rather use it than dnotify, remove
# the --disable-libfam and --enable-dnotify options below
# I have OpenSSL installed under /usr/local/ssl (the source default). I
# have CUPS installed, it is linked with OpenSSL. When configure looks for
# CUPS, it says it's too old. Looking at config.log, I see that configure
# can't find libssl at that point, so I pass USER_LDFLAGS (LDFLAGS doesn't
# work) to configure.
USER_LDFLAGS=-L/usr/local/ssl/lib \
./configure --prefix=/opt/kde --with-ssl-dir=/usr/local/ssl \
--disable-debug --disable-libfam --enable-dnotify
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg kdelibs
make install
# Add /opt/kde/lib to /etc/ld.so.conf if it's not already in there:
grep "^/opt/kde/lib$" /etc/ld.so.conf > /dev/null 2>&1 ||
echo "/opt/kde/lib" >> /etc/ld.so.conf
ldconfig