summaryrefslogtreecommitdiffstats
path: root/src/boost.mk
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 /src/boost.mk
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
Diffstat (limited to 'src/boost.mk')
-rw-r--r--src/boost.mk14
1 files changed, 7 insertions, 7 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