Mercurial > mxe-octave
comparison src/gnutls.mk @ 306:85ffa9259036
validate downloads using SHA-1 checksums
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 05 Apr 2009 14:00:17 +0200 |
parents | 8fdf5f33f803 |
children | 001f5e9b8374 |
comparison
equal
deleted
inserted
replaced
305:d3cbc6a36d1c | 306:85ffa9259036 |
---|---|
1 # GnuTLS | 1 # GnuTLS |
2 | 2 |
3 PKG := gnutls | 3 PKG := gnutls |
4 $(PKG)_VERSION := 2.6.4 | 4 $(PKG)_VERSION := 2.6.4 |
5 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION) | 5 $(PKG)_CHECKSUM := 11dd1e11599906a32b3ff92308f4c4dbaadbad58 |
6 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.bz2 | 6 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION) |
7 $(PKG)_WEBSITE := http://www.gnu.org/software/gnutls/ | 7 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.bz2 |
8 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gnutls/$($(PKG)_FILE) | 8 $(PKG)_WEBSITE := http://www.gnu.org/software/gnutls/ |
9 $(PKG)_URL_2 := ftp://ftp.gnupg.org/gcrypt/gnutls/$($(PKG)_FILE) | 9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gnutls/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc libgcrypt | 10 $(PKG)_URL_2 := ftp://ftp.gnupg.org/gcrypt/gnutls/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc libgcrypt | |
11 | 12 |
12 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
13 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \ | 14 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \ |
14 grep '<a class="list subject"' | \ | 15 grep '<a class="list subject"' | \ |
15 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^>]*\)<.*,\1,p' | \ | 16 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^>]*\)<.*,\1,p' | \ |