update package gnutls

This commit is contained in:
Mark Brand 2013-01-03 11:13:51 +01:00
parent d3d5287c7b
commit 2a62e4d247
2 changed files with 6 additions and 10 deletions

View File

@ -1193,7 +1193,7 @@ USE_OSGPLUGIN(<plugin2>)
</tr>
<tr>
<td id="gnutls-package">gnutls</td>
<td id="gnutls-version">3.1.5</td>
<td id="gnutls-version">3.1.6</td>
<td id="gnutls-website"><a href="http://www.gnu.org/software/gnutls/">GnuTLS</a></td>
</tr>
<tr>

View File

@ -2,19 +2,16 @@
# See index.html for further information.
PKG := gnutls
$(PKG)_CHECKSUM := 93efeab75cad6f656eae1123c10e3692db727bd5
$(PKG)_CHECKSUM := 3c4d9fc40305895079676a6ebb01d87da810cd8d
$(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
$(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnu.org/gnu/gnutls/$($(PKG)_FILE)
$(PKG)_URL := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1//$($(PKG)_FILE)
$(PKG)_DEPS := gcc gettext nettle pcre zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \
grep '<a class="list name"' | \
$(SED) -n 's,.*<a[^>]*>gnutls_\([0-9]*_[0-9]*[012468]_[^<]*\)<.*,\1,p' | \
$(SED) 's,_,.,g' | \
grep -v '^2\.' | \
head -1
$(WGET) wget -q -O- ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/ | \
$(SED) -n 's,.*gnutls-\([1-9]\.[0-9].[0-9]\)\..*,\1,p' | \
tail -1
endef
define $(PKG)_BUILD
@ -35,7 +32,6 @@ define $(PKG)_BUILD
--disable-nls \
--disable-guile \
--with-included-libtasn1 \
--with-included-libcfg \
--with-libregex='$(PREFIX)/$(TARGET)' \
--with-regex-header=pcreposix.h \
--with-libregex-cflags="`'$(TARGET)-pkg-config' libpcreposix --cflags`" \