comparison Makefile @ 561:57265b8d92af

adjust the $(SOURCEFORGE_FILES) macro to the new layout of the SourceForge download sites (needed by "make update")
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 02 Dec 2009 12:53:36 +0100
parents 185e73877b08
children 525f5fd5a9ea
comparison
equal deleted inserted replaced
560:185e73877b08 561:57265b8d92af
89 wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)') 89 wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)')
90 90
91 SOURCEFORGE_FILES = \ 91 SOURCEFORGE_FILES = \
92 wget -q -O- '$(1)' | \ 92 wget -q -O- '$(1)' | \
93 grep 'title="/' | \ 93 grep 'title="/' | \
94 $(SED) -n 's,.*title="\(/[^:]*\).*released on \([^ "]* [^ "]* [^ "]*\)",\2 \1,p' | \ 94 $(SED) -n 's,.*title="\(/[^:]*\).*released on \([0-9-]*\)",\2 \1,p' | \
95 while read d1 d2 d3 url; do echo "`date -d "$$d1 $$d2 $$d3" +%Y-%m-%d`" "$$url"; done | \
96 sort | \ 95 sort | \
97 $(SED) 's,^[^ ]* ,,' 96 $(SED) 's,^[^ ]* ,,'
98 97
99 .PHONY: all 98 .PHONY: all
100 all: $(PKGS) 99 all: $(PKGS)