summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-06-04 21:05:41 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-06-04 21:05:41 (GMT)
commitb7ef3664eafb33a2e3cc7df93e3b7b5c91d21e95 (patch)
tree6731961f06496dfadfc503fe05349d91096b836f
parent4305ff23861c5c696c604e04ddb80114f06435c1 (diff)
downloadmxe-b7ef3664eafb33a2e3cc7df93e3b7b5c91d21e95.zip
mxe-b7ef3664eafb33a2e3cc7df93e3b7b5c91d21e95.tar.gz
mxe-b7ef3664eafb33a2e3cc7df93e3b7b5c91d21e95.tar.bz2
improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
-rw-r--r--src/boost.mk14
-rw-r--r--src/freetype.mk6
-rw-r--r--src/gcc.mk2
-rw-r--r--src/glew.mk6
-rw-r--r--src/libgee.mk2
-rw-r--r--src/mingwrt.mk2
-rw-r--r--src/openssl.mk2
-rw-r--r--src/pcre.mk6
-rw-r--r--src/pdcurses.mk6
-rw-r--r--src/w32api.mk2
-rw-r--r--src/wxwidgets.mk6
11 files changed, 27 insertions, 27 deletions
diff --git a/src/boost.mk b/src/boost.mk
index 5edfe2c..e8c0e90 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -4,19 +4,19 @@
# Boost C++ Library
PKG := boost
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1_43_0
+$(PKG)_VERSION := 1.43.0
$(PKG)_CHECKSUM := b8257b7da2a7222739314f8d1e07e217debe71d6
-$(PKG)_SUBDIR := boost_$($(PKG)_VERSION)
-$(PKG)_FILE := boost_$($(PKG)_VERSION).tar.bz2
+$(PKG)_SUBDIR := boost_$(subst .,_,$($(PKG)_VERSION))
+$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2
$(PKG)_WEBSITE := http://www.boost.org/
-$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$(subst _,.,$($(PKG)_VERSION))/$($(PKG)_FILE)
+$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc zlib bzip2 expat
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/boost/files/boost/) | \
- $(SED) -n 's,.*boost_\([0-9][^>]*\)\.tar.*,\1,p' | \
+ wget -q -O- 'http://sourceforge.net/projects/boost/files/boost/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
grep -v beta | \
- tail -1
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/freetype.mk b/src/freetype.mk
index 1b5dd34..c0796ba 100644
--- a/src/freetype.mk
+++ b/src/freetype.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freetype/freetype2/$($(P
$(PKG)_DEPS := gcc zlib
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/freetype/files/freetype2/) | \
- $(SED) -n 's,.*freetype-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/freetype/files/freetype2/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/gcc.mk b/src/gcc.mk
index f8c230e..5f74df3 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -16,7 +16,7 @@ $(PKG)_DEPS := mingwrt w32api binutils gcc-gmp gcc-mpc gcc-mpfr
define $(PKG)_UPDATE
wget -q -O- 'http://ftp.gnu.org/gnu/gcc/?C=M;O=D' | \
$(SED) -n 's,.*<a href="gcc-\([0-9][^"]*\)/".*,\1,p' | \
- grep -v '^4\.4\.' | \
+ grep -v '^4\.[43]\.' | \
head -1
endef
diff --git a/src/glew.mk b/src/glew.mk
index bfe5857..c09265d 100644
--- a/src/glew.mk
+++ b/src/glew.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/glew/glew/$($(PKG)_VERSI
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/glew/files/glew/) | \
- $(SED) -n 's,.*glew-\([0-9][^>]*\)\.tgz.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/glew/files/glew/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/libgee.mk b/src/libgee.mk
index 9ebc0cf..e76467f 100644
--- a/src/libgee.mk
+++ b/src/libgee.mk
@@ -15,7 +15,7 @@ $(PKG)_DEPS := gcc glib
define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/browse/libgee/refs/tags' | \
grep '<a href=' | \
- $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGEE_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
+ $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGEE_\\([0-9]*_[0-9]*_[^<]*\\)'.*,\\1,p" | \
$(SED) 's,_,.,g' | \
head -1
endef
diff --git a/src/mingwrt.mk b/src/mingwrt.mk
index 92aeea6..cfccd28 100644
--- a/src/mingwrt.mk
+++ b/src/mingwrt.mk
@@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/BaseSystem/R
$(PKG)_DEPS :=
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW Runtime/) | \
+ $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/MinGW-RT/) | \
$(SED) -n 's,.*mingwrt-\([0-9][^>]*\)-mingw32-dev\.tar.*,\1,p' | \
tail -1
endef
diff --git a/src/openssl.mk b/src/openssl.mk
index 6042444..5497705 100644
--- a/src/openssl.mk
+++ b/src/openssl.mk
@@ -15,8 +15,8 @@ $(PKG)_DEPS := gcc zlib libgcrypt
define $(PKG)_UPDATE
wget -q -O- 'http://www.openssl.org/source/' | \
- grep '<a href="openssl-' | \
$(SED) -n 's,.*openssl-\([0-9][0-9a-z.]*\)\.tar.*,\1,p' | \
+ grep -v '^0\.9\.' | \
head -1
endef
diff --git a/src/pcre.mk b/src/pcre.mk
index 49f0564..e292926 100644
--- a/src/pcre.mk
+++ b/src/pcre.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pcre/pcre/$($(PKG)_VERSI
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pcre/files/pcre/) | \
- $(SED) -n 's,.*pcre-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/pcre/files/pcre/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/pdcurses.mk b/src/pdcurses.mk
index b801330..d991a80 100644
--- a/src/pdcurses.mk
+++ b/src/pdcurses.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pdcurses/pdcurses/$($(PK
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pdcurses/files/pdcurses/) | \
- $(SED) -n 's,.*PDCurses-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/pdcurses/files/pdcurses/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD
diff --git a/src/w32api.mk b/src/w32api.mk
index efba317..dd8d379 100644
--- a/src/w32api.mk
+++ b/src/w32api.mk
@@ -13,7 +13,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/BaseSystem/R
$(PKG)_DEPS :=
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW API for MS-Windows/) | \
+ $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/) | \
$(SED) -n 's,.*w32api-\([0-9][^>]*\)-mingw32-dev\.tar.*,\1,p' | \
tail -1
endef
diff --git a/src/wxwidgets.mk b/src/wxwidgets.mk
index 5f1a4af..337da50 100644
--- a/src/wxwidgets.mk
+++ b/src/wxwidgets.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/wxwindows/wxMSW/$($(PKG)
$(PKG)_DEPS := gcc libiconv libpng jpeg tiff sdl zlib expat
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/wxwindows/files/wxMSW/) | \
- $(SED) -n 's,.*wxMSW-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/wxwindows/files/wxMSW/?sort=date&sortdir=desc' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD