comparison src/libffi.mk @ 3708:d95b8b84cea7

enable additional $(PKG)_UPDATE targets.
author John W. Eaton <jwe@octave.org>
date Wed, 03 Sep 2014 19:00:40 -0400
parents feacee2273d9
children c85991d2fed4
comparison
equal deleted inserted replaced
3707:12aaa396be7c 3708:d95b8b84cea7
10 $(PKG)_URL := ftp://sourceware.org/pub/$(PKG)/$($(PKG)_FILE) 10 $(PKG)_URL := ftp://sourceware.org/pub/$(PKG)/$($(PKG)_FILE)
11 $(PKG)_DEPS := 11 $(PKG)_DEPS :=
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \ 14 $(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \
15 grep '<a href="/atgreen/libffi/tarball/' | \ 15 grep '<a href="/atgreen/libffi/archive/' | \
16 $(SED) -n 's,.*href="/atgreen/libffi/tarball/v\([0-9][^"]*\)".*,\1,p' | \ 16 $(SED) -n 's,.*href="/atgreen/libffi/archive/v\([0-9][^"]*\)\.tar.*,\1,p' | \
17 head -1 17 head -1
18 endef 18 endef
19 19
20 define $(PKG)_BUILD 20 define $(PKG)_BUILD
21 cd '$(1)' && ./configure \ 21 cd '$(1)' && ./configure \