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/libusb.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/libusb.mk')
-rw-r--r-- | src/libusb.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libusb.mk b/src/libusb.mk index 80cea06..0bbd939 100644 --- a/src/libusb.mk +++ b/src/libusb.mk @@ -7,15 +7,15 @@ $(PKG)_IGNORE := $(PKG)_VERSION := 0.1.12.2 $(PKG)_CHECKSUM := a433ff5cf8dd24f5308491c8500a2143497b4b8f $(PKG)_SUBDIR := $(PKG)-win32-src-$($(PKG)_VERSION) -$(PKG)_FILE := $(PKG)-win32-src-$($(PKG)_VERSION).tar.gz +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_WEBSITE := http://libusb-win32.sourceforge.net/ -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libusb-win32/libusb-win32-releases/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)-win32/$(PKG)-win32-releases/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libusb-win32/files/) | \ - $(SED) -n 's,.*libusb-win32-src-\([0-9][^>]*\)\.tar.*,\1,p' | \ - tail -1 + wget -q -O- 'http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |