# wv2 0.2.2
# =========
# Slackware 10.0, 10.1, and 10.2's 'wv2' packages include version 0.2.2
# wv2 is a replacement for the original wv.
# Both of them can co-exist. There are utils in the original for
# conversions, this one (at least so far) is just a library. wv2 is used
# by apps like KWord and Abiword.
cd
test -f installed/wv2-0.2.2.tar.bz2 && mv installed/wv2-0.2.2.tar.bz2 .
test ! -f wv2-0.2.2.tar.bz2 &&
wget http://download.sf.net/wvware/wv2-0.2.2.tar.bz2
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "d05318852b6c599270c7e0376834c413 wv2-0.2.2.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
tar xjvf ~/wv2-0.2.2.tar.bz2
cd wv2-0.2.2
test $UID = 0 && chown -R root:root .
# glibc has it's own built in iconv, but if you have libiconv
# installed and configure fails saying you need a new libiconv (even though
# you already do have the latest installed), re-run the configure line with
# --with-libiconv at the end.
./configure --prefix=/usr --disable-debug --disable-static
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg wv2
make install
ldconfig