Mercurial > mxe-octave
comparison src/atk.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | d3034915cd6b |
children | 0e27ba277c56 |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
8 $(PKG)_FILE := atk-$($(PKG)_VERSION).tar.xz | 8 $(PKG)_FILE := atk-$($(PKG)_VERSION).tar.xz |
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/atk/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/atk/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc glib gettext | 10 $(PKG)_DEPS := gcc glib gettext |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 wget -q -O- 'http://git.gnome.org/browse/atk/refs/tags' | \ | 13 $(WGET) -q -O- 'http://git.gnome.org/browse/atk/refs/tags' | \ |
14 grep '<a href=' | \ | 14 grep '<a href=' | \ |
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=ATK_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \ | 15 $(SED) -n "s,.*<a href='[^']*/tag/?id=ATK_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \ |
16 $(SED) 's,_,.,g' | \ | 16 $(SED) 's,_,.,g' | \ |
17 head -1 | 17 head -1 |
18 endef | 18 endef |