improved version update mechanism (make update) of package gettext

This commit is contained in:
Volker Grabsch 2009-02-14 21:08:14 +01:00
parent 62b02d542a
commit 51ea4d1d15
1 changed files with 3 additions and 3 deletions

View File

@ -9,10 +9,10 @@ $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE)
$(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