diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-08-10 11:24:12 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-08-10 11:24:12 (GMT) |
commit | 2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2 (patch) | |
tree | 4e50fc5d573c175a26a0d14aca3cccfb6a1deb12 /src/libdnet.mk | |
parent | d06801044778f94cd571866808dea769c139252b (diff) | |
download | mxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.zip mxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.tar.gz mxe-2cce10cbcbb6c5e913fbd1ebf8c46b8ebfe7eeb2.tar.bz2 |
improved version recognition for sourceforge packages
Diffstat (limited to 'src/libdnet.mk')
-rw-r--r-- | src/libdnet.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libdnet.mk b/src/libdnet.mk index 8473a5f..049751d 100644 --- a/src/libdnet.mk +++ b/src/libdnet.mk @@ -10,10 +10,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/libdnet/$($(PKG)_FILE) $(PKG)_DEPS := gcc winpcap define $(PKG)_UPDATE - wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=36243&package_id=28560' | \ - grep 'libdnet-' | \ + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libdnet/files/libdnet/) | \ $(SED) -n 's,.*libdnet-\([0-9][^>]*\)\.tar.*,\1,p' | \ - head -1 + tail -1 endef define $(PKG)_BUILD |