fix some more update macros for sourceforge packages

This commit is contained in:
Mark Brand 2018-03-25 16:49:47 +02:00
parent 0683703062
commit fa3b687f85
6 changed files with 8 additions and 7 deletions

View File

@ -15,7 +15,7 @@ $(PKG)_DEPS := cc eigen ffmpeg jasper jpeg lcms1 libpng libwebp \
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/opencvlibrary/files/opencv-unix/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*/projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef

View File

@ -13,7 +13,7 @@ $(PKG)_DEPS := cc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/pdcurses/files/pdcurses/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*/projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef

View File

@ -13,7 +13,7 @@ $(PKG)_DEPS := cc qtbase qtsvg
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/qwt/files/qwt/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*/projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef

View File

@ -14,7 +14,7 @@ $(PKG)_DEPS := cc file flac lame libltdl libmad libpng libsndfile \
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/sox/files/sox/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef

View File

@ -17,7 +17,7 @@ $(PKG)_CONFIGURE_OPTS = $(if $(findstring mingw,$(TARGET)),CFLAGS=-D__MINGW_EXCP
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/tcl/files/Tcl/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*/projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef

View File

@ -13,8 +13,9 @@ $(PKG)_DEPS := cc expat jpeg libiconv libpng sdl tiff zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://sourceforge.net/projects/wxwindows/files/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
$(SED) -n 's,.*/projects/.*/\([0-9][^"]*\)/".*,\1,p' | \
sort -V | \
tail -1
endef
define $(PKG)_CONFIGURE_OPTS