summaryrefslogtreecommitdiffstats
path: root/src/w32api.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32api.mk')
-rw-r--r--src/w32api.mk12
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