Mercurial > mxe-octave
annotate src/gcc-gmp.mk @ 926:ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 01 May 2010 18:20:40 +0200 |
parents | 29f1ba4559ae |
children | 80ad871e84ff |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # GMP for GCC |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
5 PKG := gcc-gmp |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
6 $(PKG)_IGNORE := |
377
61e5dba7175b
update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
7 $(PKG)_VERSION := 4.3.0 |
61e5dba7175b
update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
8 $(PKG)_CHECKSUM := 86dbd8a6b2fbb4c75760a80009227c9a11b801a9 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
9 $(PKG)_SUBDIR := gmp-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
10 $(PKG)_FILE := gmp-$($(PKG)_VERSION).tar.bz2 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.gmplib.org/ |
926
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
12 $(PKG)_URL := ftp://ftp.gmplib.org/pub/$($(PKG)_SUBDIR)/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
13 $(PKG)_DEPS := |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
926
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
16 wget -q -O- 'http://www.gmplib.org/' | \ |
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
17 grep '<a href="' | \ |
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
18 $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \ |
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
19 grep -v '^4\.' | \ |
ea4c9a5df97f
download packages gcc-gmp and gcc-mpfr from their official project sites rather than TDM (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
20 head -1 |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 endef |