# FLTK
# ====
# Below are the latest 1.x and 2.x versions. They can both be installed at
# the same time because everything in 2.x that had fltk in the name is
# named fltk2.
#
# 2.0 hasn't been released yet, so be aware that the 2.x version below is a
# snapshot.
# If you ever want to uninstall FLTK 1.x, this should do it:
cd
su
test -d src/fltk-1.* && ( cd src/fltk-1.* ; make uninstall )
( cd /usr/local/bin ; rm -f fltk-config fluid )
test -d /usr/local/include/FL && rm -r /usr/local/include/FL
( cd /usr/local/lib ; rm -f libfltk.* libfltk_forms.* libfltk_gl.* \
libfltk_images.* )
( cd /usr/local/man/cat1 ; rm -f fltk-config.1 fluid.1 )
( cd /usr/local/man/man1 ; rm -f fltk-config.1 fluid.1 )
rm -f /usr/local/man/cat3/fltk.3 /usr/local/man/man3/fltk.3
test -d /usr/local/share/doc/fltk && rm -r /usr/local/share/doc/fltk
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "fltk-1.*" -exec rm -r {} \;
rm -f ~/installed/fltk-1.*.tar.*
# If you ever want to uninstall FLTK 2.x, this should do it:
cd
su
test -d src/fltk-2.* && ( cd src/fltk-2.* ; make uninstall )
( cd /usr/local/bin ; rm -f fltk2-config fluid2 )
( cd /usr/local/lib ; rm -f libfltk2.* libfltk2_* )
test -d /usr/local/include/fltk && rm -r /usr/local/include/fltk
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "fltk-2.*" -exec rm -r {} \;
rm -f ~/installed/fltk-2.*.tar.*