# GNU nano 2.0.6
# ==============
# Slackware's 'nano' package includes version 2.0.6
# Prerequisites:
# gettext (optional)
# ncurses or slang
# iconv (optional)
# glib (I think it's only required if you don't have a snprintf()
# or vsnprintf())
# nano can be built with and without several features, you may want to
# peruse through './configure --help' to see what options are available
# Below I use --disable-nls because I'm in the US and only speak English
# (well), if this is not the case for you, leave that off
cd
test -f installed/nano-2.0.6.tar.gz && mv installed/nano-2.0.6.tar.gz .
test ! -f nano-2.0.6.tar.gz &&
wget http://www.nano-editor.org/dist/v2.0/nano-2.0.6.tar.gz
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "619107f0fc3c4383d668cef15aa3ca32 nano-2.0.6.tar.gz" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "00102580404cdb1c8594e5f6193000d5acac2249 nano-2.0.6.tar.gz" | \
sha1sum -c