mirror of https://git.wownero.com/dsc/mxe.git
improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
This commit is contained in:
parent
5099f2de1c
commit
9c11e9e39b
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$($(PKG)_VER
|
|||
$(PKG)_DEPS := gcc zlib bzip2 expat
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/boost/files/boost/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/boost/files/boost/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
grep -v beta | \
|
||||
head -1
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cppunit/cppunit/$($(PKG)
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/cppunit/files/cppunit/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/cppunit/files/cppunit/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(PKG)_VER
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cunit/files/) | \
|
||||
$(SED) -n 's,.*CUnit-\([0-9][^>]*\)-src\.tar.*,\1,p' | \
|
||||
tail -1
|
||||
wget -q -O- 'http://sourceforge.net/projects/cunit/files/CUnit/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
|
@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VER
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/expat/files/) | \
|
||||
$(SED) -n 's,.*expat-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
tail -1
|
||||
wget -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freetype/freetype2/$($(P
|
|||
$(PKG)_DEPS := gcc zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/freetype/files/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/freetype/files/freetype2/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/glew/glew/$($(PKG)_VERSI
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/glew/files/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/glew/files/glew/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pcre/pcre/$($(PKG)_VERSI
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/pcre/files/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/pcre/files/pcre/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pdcurses/pdcurses/$($(PK
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/pdcurses/files/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/pdcurses/files/pdcurses/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/wxwindows/$($(PKG)_VERSI
|
|||
$(PKG)_DEPS := gcc libiconv libpng jpeg tiff sdl zlib expat
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/wxwindows/files/?sort=date&sortdir=desc' | \
|
||||
wget -q -O- 'http://sourceforge.net/projects/wxwindows/files/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"9]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue