# gftp 2.0.16
# ===========
# Slackware 9.0's 'gftp' package includes 2.0.14, 9.1's includes 2.0.15
# Prerequisites:
# make
# gcc
# binutils
# fileutils
# gawk
# pkg-config
# glib
# gtk+ >= 1.2.3 or gtk+-2.0 >= 2.0.0
# readline
# ncurses, curses, or termcap
# openssl (leave off the CPPFLAGS/LDFLAGS part below if you don't
# have it installed or don't want it built in)
# gettext
# libiconv
# bison
# db2html (Slackware 9.0 includes 'sgml-tools' in extra, 9.1
# includes it as a regular package in 'ap', they're both version 1.0.9)
cd
test -f installed/gftp-2.0.16.tar.bz2 && mv installed/gftp-2.0.16.tar.bz2 .
test ! -f gftp-2.0.16.tar.bz2 && wget http://www.gftp.org/gftp-2.0.16.tar.bz2
cd /usr/local/src
find -type d -maxdepth 1 -name "gftp-*" -exec rm -r {} \;
tar xjvf ~/gftp-2.0.16.tar.bz2
cd gftp-2.0.16
chown -R root.root .
CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-nls
make
removepkg gftp
make install
cd
mkdir -p -m 0700 installed
rm -f installed/gftp-*.tar.*
mv gftp-2.0.16.tar.bz2 installed/
# gftp has text-based and GTK+-based versions. When you run gftp you're
# actually running a shell script: if the $DISPLAY environment variable is
# set (which happens when you're in X) it runs gftp-gtk, if not it runs
# gftp-text. So, if you want to run the text-based one in X from an X term,
# run gftp-text.