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/libdnet.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/libdnet.mk')
-rw-r--r-- | src/libdnet.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libdnet.mk b/src/libdnet.mk index 9d53c89..4c583e7 100644 --- a/src/libdnet.mk +++ b/src/libdnet.mk @@ -6,16 +6,16 @@ PKG := libdnet $(PKG)_IGNORE := $(PKG)_VERSION := 1.11 $(PKG)_CHECKSUM := e2ae8c7f0ca95655ae9f77fd4a0e2235dc4716bf -$(PKG)_SUBDIR := libdnet-$($(PKG)_VERSION) -$(PKG)_FILE := libdnet-$($(PKG)_VERSION).tar.gz +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_WEBSITE := http://libdnet.sourceforge.net/ -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libdnet/libdnet/libdnet-$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc winpcap define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libdnet/files/) | \ - $(SED) -n 's,.*libdnet-\([0-9][^>]*\)\.tar.*,\1,p' | \ - tail -1 + wget -q -O- 'http://sourceforge.net/projects/libdnet/files/libdnet/' | \ + $(SED) -n 's,.*/libdnet-\([0-9][^"]*\)/".*,\1,p' | \ + head -1 endef define $(PKG)_BUILD |