Mercurial > mxe-octave
comparison src/libsigc++.mk @ 4539:58c55baead8f
maint: more PKG_UPDATE updates
* src/librsb.mk, src/libsigc++.mk: update PKG_UPDATE
author | John D |
---|---|
date | Tue, 21 Nov 2017 12:26:13 -0500 |
parents | 13be64f9f16d |
children | 9043136bc76e |
comparison
equal
deleted
inserted
replaced
4538:979f5b397e51 | 4539:58c55baead8f |
---|---|
9 $(PKG)_FILE := libsigc++-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := libsigc++-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libsigc++/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libsigc++/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://git.gnome.org/browse/libsigc++2/refs/tags' | \ | 14 $(WGET) -q -O- 'https://github.com/GNOME/libsigcplusplus/tags' | \ |
15 grep '<a href=' | \ | 15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \ |
16 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\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) \ |