mirror of https://git.wownero.com/dsc/mxe.git
fix some more update macros for sourceforge packages
This commit is contained in:
parent
0683703062
commit
fa3b687f85
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue