Mercurial > mxe-octave
diff src/gettext.mk @ 231:fce7481d2b13
improved version update mechanism (make update) of package gettext
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 14 Feb 2009 21:08:14 +0100 |
parents | 11829aaff7d3 |
children | 891180a1d143 |
line wrap: on
line diff
--- a/src/gettext.mk Sat Feb 14 20:56:40 2009 +0100 +++ b/src/gettext.mk Sat Feb 14 21:08:14 2009 +0100 @@ -9,10 +9,10 @@ $(PKG)_DEPS := gcc define $(PKG)_UPDATE - wget -q -O- 'ftp://ftp.gnu.org/pub/gnu/gettext/' | \ + wget -q -O- 'http://www.gnu.org/software/gettext/' | \ + grep 'gettext-' | \ $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ - sort | \ - tail -1 + head -1 endef define $(PKG)_BUILD