Mercurial > mxe-octave
annotate 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 |
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 := |
941
80ad871e84ff
update packages gcc-gmp and gcc-mpfr (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
926
diff
changeset
|
7 $(PKG)_VERSION := 5.0.1 |
80ad871e84ff
update packages gcc-gmp and gcc-mpfr (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
926
diff
changeset
|
8 $(PKG)_CHECKSUM := 6340edc7ceb95f9015a758c7c0d196eb0f441d49 |
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 |