diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-10-20 06:54:48 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-10-20 06:54:48 (GMT) |
commit | da2c5459c80c13a57e61d4f51522f2ea65391d10 (patch) | |
tree | 94637cf9beb7cce4bedf5ada5e40aee4602c59b6 /src | |
parent | 29008ee2bd913a2555e017bc1d858727b0d116c7 (diff) | |
download | mxe-da2c5459c80c13a57e61d4f51522f2ea65391d10.zip mxe-da2c5459c80c13a57e61d4f51522f2ea65391d10.tar.gz mxe-da2c5459c80c13a57e61d4f51522f2ea65391d10.tar.bz2 |
package icu4c: add update macro
Diffstat (limited to 'src')
-rw-r--r-- | src/icu4c.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/icu4c.mk b/src/icu4c.mk index e577103..55aabda 100644 --- a/src/icu4c.mk +++ b/src/icu4c.mk @@ -11,8 +11,11 @@ $(PKG)_URL := http://download.icu-project.org/files/$(PKG)/$($(PKG)_VERSION $(PKG)_DEPS := gcc define $(PKG)_UPDATE - echo 'TODO: Updates for package icu4c need to be written.' >&2; - echo $(icu4c_VERSION) + $(WGET) -q -O- 'http://bugs.icu-project.org/trac/browser/icu/tags' | \ + $(SED) -n 's,.*release-\([0-9-]*\)<.*,\1,p' | \ + tr '-' '.' | \ + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD |