diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:31:45 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-12-02 19:31:45 (GMT) |
commit | 77f47c13ca7d6e60d93436d853608ac225e5fa64 (patch) | |
tree | f8b9543065dd935bd0fada5dd96f0ca40f3164a2 /src/w32api.mk | |
parent | e9720327c61aceb39e591a2341b3a7d270f11329 (diff) | |
download | mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.zip mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.gz mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.bz2 |
improved update script of all remaining SourceForge packages
Diffstat (limited to 'src/w32api.mk')
-rw-r--r-- | src/w32api.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32api.mk b/src/w32api.mk index 2a50ef2..51f6de8 100644 --- a/src/w32api.mk +++ b/src/w32api.mk @@ -4,18 +4,18 @@ # MinGW Windows API PKG := w32api $(PKG)_IGNORE := -$(PKG)_VERSION := 3.15-1 +$(PKG)_VERSION := 3.15 $(PKG)_CHECKSUM := a1f8f3767970663b3394e37919c0a4ea029473d6 $(PKG)_SUBDIR := . -$(PKG)_FILE := w32api-$($(PKG)_VERSION)-mingw32-dev.tar.lzma +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-1-mingw32-dev.tar.lzma $(PKG)_WEBSITE := http://mingw.sourceforge.net/ -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.15/$($(PKG)_FILE) +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/) | \ - $(SED) -n 's,.*w32api-\([0-9][^>]*\)-mingw32-dev\.tar.*,\1,p' | \ - tail -1 + wget -q -O- 'http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/' | \ + $(SED) -n 's,.*w32api-\([0-9][^"]*\)/".*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |