# As of 0.12.1, you can install the runtime part and/or the tools part
# separately. To install both, follow the howto below. To install just the
# runtime, cd into gettext-runtime then run configure, make, make install.
# To install just the tools, cd into gettext-tools.
# When upgrading to a new version, skip down to the bottom to clean up
# old files from the previous version before beginning with the new one.
# Seems kind of weird to use --disable-nls here, but I live in the US and
# only read/write English (well), so do not need any translations. If that
# is not the case for you, leave that off below. Sometimes gettext is
# required to exist, even if you're going to end up skipping the .mo files.
# Prerequisites (both versions):
# Bison
# javac (java compiler), jar (optional; part of Sun's JDK)
# libc's iconv or libiconv
# Perl
# teTeX or TeX Live's dvips
# texinfo's texi2pdf
# Emacs (optional)
# Get it
cd
test -f installed/gettext-0.19.8.1.tar.lz &&
mv -f installed/gettext-0.19.8.1.tar.lz .
test ! -f gettext-0.19.8.1.tar.lz &&
wget http://ftpmirror.gnu.org/gettext/gettext-0.19.8.1.tar.lz
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "404e072c455f79be4a2458863c19fb55a217771e gettext-0.19.8.1.tar.lz" | \
sha1sum -c