libunistring: update and fix update macro

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-09-29 19:29:23 -07:00
parent b0a94ba1f8
commit c07efa4195
1 changed files with 3 additions and 3 deletions

View File

@ -3,15 +3,15 @@
PKG := libunistring
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.9.3
$(PKG)_CHECKSUM := e1ea13c24a30bc93932d19eb5ad0704a618506dd
$(PKG)_VERSION := 0.9.4
$(PKG)_CHECKSUM := f975899e13171f7a5860c61dd78e14093e1e7640
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libiconv
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
$(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=tags' | \
grep '<a class="list name"' | \
$(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
head -1