view src/gcc-gmp.mk @ 941:80ad871e84ff

update packages gcc-gmp and gcc-mpfr (by Tony Theodore)
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 03 May 2010 16:46:14 +0200
parents ea4c9a5df97f
children 26c10955389a
line wrap: on
line source

# This file is part of mingw-cross-env.
# See doc/index.html for further information.

# GMP for GCC
PKG             := gcc-gmp
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.0.1
$(PKG)_CHECKSUM := 6340edc7ceb95f9015a758c7c0d196eb0f441d49
$(PKG)_SUBDIR   := gmp-$($(PKG)_VERSION)
$(PKG)_FILE     := gmp-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE  := http://www.gmplib.org/
$(PKG)_URL      := ftp://ftp.gmplib.org/pub/$($(PKG)_SUBDIR)/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    wget -q -O- 'http://www.gmplib.org/' | \
    grep '<a href="' | \
    $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \
    grep -v '^4\.' | \
    head -1
endef