mirror of https://git.wownero.com/dsc/mxe.git
package pthreads: fix update macro
This commit is contained in:
parent
99d3ef31ec
commit
5dcb2f1531
|
@ -10,10 +10,8 @@ $(PKG)_URL := ftp://sourceware.org/pub/pthreads-win32/$($(PKG)_FILE)
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/Release_notes' | \
|
||||
$(SED) -n 's,^RELEASE \([0-9][^[:space:]]*\).*,\1,p' | \
|
||||
tr '.' '-' | \
|
||||
head -1
|
||||
$(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/dll-latest/include/pthread.h' | \
|
||||
$(SED) -n 's/^#define PTW32_VERSION \([^,]*\),\([^,]*\),\([^,]*\),.*/\1-\2-\3/p;'
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue