Mercurial > mxe-octave
comparison src/glibmm.mk @ 4707:db98546e9286
* src/glibmm.mk: update update rule
author | John Donoghue |
---|---|
date | Thu, 24 May 2018 08:32:42 -0400 |
parents | 13be64f9f16d |
children |
comparison
equal
deleted
inserted
replaced
4706:8b0cb58cc3df | 4707:db98546e9286 |
---|---|
9 $(PKG)_FILE := glibmm-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := glibmm-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glibmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glibmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
11 $(PKG)_DEPS := glib libsigc++ | 11 $(PKG)_DEPS := glib libsigc++ |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://git.gnome.org/browse/glibmm/refs/tags' | \ | 14 $(WGET) -q -O- https://github.com/GNOME/glibmm/tags | \ |
15 grep '<a href=' | \ | 15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \ |
16 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ | 16 tail -1 |
17 head -1 | |
18 endef | 17 endef |
19 | 18 |
20 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
21 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |