Mercurial > mxe-octave
comparison src/pthreads.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 | b5321bdec505 |
children | 480cba57f1bf |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
8 $(PKG)_FILE := pthreads-w32-$($(PKG)_VERSION)-release.tar.gz | 8 $(PKG)_FILE := pthreads-w32-$($(PKG)_VERSION)-release.tar.gz |
9 $(PKG)_URL := ftp://sourceware.org/pub/pthreads-win32/$($(PKG)_FILE) | 9 $(PKG)_URL := ftp://sourceware.org/pub/pthreads-win32/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc | 10 $(PKG)_DEPS := gcc |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 wget -q -O- 'ftp://sourceware.org/pub/pthreads-win32/Release_notes' | \ | 13 $(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/Release_notes' | \ |
14 $(SED) -n 's,^RELEASE \([0-9][^[:space:]]*\).*,\1,p' | \ | 14 $(SED) -n 's,^RELEASE \([0-9][^[:space:]]*\).*,\1,p' | \ |
15 tr '.' '-' | \ | 15 tr '.' '-' | \ |
16 head -1 | 16 head -1 |
17 endef | 17 endef |
18 | 18 |