Mercurial > mxe-octave
comparison src/gcab.mk @ 3561:ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 08 Mar 2014 17:40:00 -0500 |
parents | 13be64f9f16d |
children |
comparison
equal
deleted
inserted
replaced
3560:e14baae9ec8c | 3561:ae4193aad5fe |
---|---|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
11 $(PKG)_DEPS := glib zlib intltool | 11 $(PKG)_DEPS := glib zlib intltool |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://git.gnome.org/browse/$(PKG)/refs/tags' | \ | 14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
15 $(SED) -n "s,.*tag/?id=\([0-9]\+\.[0-9]*[02468]\.[^']*\).*,\1,p" | \ | 15 echo $($(PKG)_VERSION) |
16 head -1 | |
17 endef | 16 endef |
18 | 17 |
19 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
20 mkdir '$(1)/.build' | 19 mkdir '$(1)/.build' |
21 cd '$(1)/.build' && PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' '$(1)/configure' \ | 20 cd '$(1)/.build' && PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' '$(1)/configure' \ |