diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:21:58 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:21:58 (GMT) |
commit | fb3b730343849d4e0a9653acd3ca51000753c60e (patch) | |
tree | 6d40dd08fb1a2337db6120920abab3723a0fe5cb | |
parent | fea1523d5a90be2052e9c5791904870326a73ebf (diff) | |
download | mxe-fb3b730343849d4e0a9653acd3ca51000753c60e.zip mxe-fb3b730343849d4e0a9653acd3ca51000753c60e.tar.gz mxe-fb3b730343849d4e0a9653acd3ca51000753c60e.tar.bz2 |
improved update script of package gnutls
-rw-r--r-- | src/gnutls.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gnutls.mk b/src/gnutls.mk index 7cb40b2..046394c 100644 --- a/src/gnutls.mk +++ b/src/gnutls.mk @@ -15,8 +15,9 @@ $(PKG)_DEPS := gcc zlib libgcrypt define $(PKG)_UPDATE wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \ - grep '<a class="list subject"' | \ - $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ + grep '<a class="list name"' | \ + $(SED) -n 's,.*<a[^>]*>gnutls_\([0-9]*_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \ + $(SED) 's,_,.,g' | \ head -1 endef |