diff options
author | Tony Theodore <tonyt@logyst.com> | 2011-10-23 02:37:14 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2011-10-23 02:37:14 (GMT) |
commit | 2a998860e16240e2f4ec4b879894b4a867c90435 (patch) | |
tree | fdefba45e3a1dae77441f00c576c6672353ed7b8 | |
parent | 6b1e1e187e2bb37ccdf108cc0c65aefbf41d1516 (diff) | |
download | mxe-2a998860e16240e2f4ec4b879894b4a867c90435.zip mxe-2a998860e16240e2f4ec4b879894b4a867c90435.tar.gz mxe-2a998860e16240e2f4ec4b879894b4a867c90435.tar.bz2 |
consolidate metadata for mpfr packages
-rw-r--r-- | src/gcc-mpfr.mk | 20 | ||||
-rw-r--r-- | src/mpfr.mk | 5 |
2 files changed, 12 insertions, 13 deletions
diff --git a/src/gcc-mpfr.mk b/src/gcc-mpfr.mk index 491ae83..e6669c8 100644 --- a/src/gcc-mpfr.mk +++ b/src/gcc-mpfr.mk @@ -3,18 +3,16 @@ # MPFR for GCC PKG := gcc-mpfr -$(PKG)_IGNORE := -$(PKG)_VERSION := 3.1.0 -$(PKG)_CHECKSUM := 9ba6dfe62dad298f0570daf182db31660f7f016c -$(PKG)_SUBDIR := mpfr-$($(PKG)_VERSION) -$(PKG)_FILE := mpfr-$($(PKG)_VERSION).tar.bz2 -$(PKG)_WEBSITE := http://www.mpfr.org/ -$(PKG)_URL := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE) -$(PKG)_URL_2 := http://ftp.gnu.org/gnu/mpfr/$($(PKG)_FILE) +$(PKG)_IGNORE = $(mpfr_IGNORE) +$(PKG)_VERSION = $(mpfr_VERSION) +$(PKG)_CHECKSUM = $(mpfr_CHECKSUM) +$(PKG)_SUBDIR = $(mpfr_SUBDIR) +$(PKG)_FILE = $(mpfr_FILE) +$(PKG)_WEBSITE = $(mpfr_WEBSITE) +$(PKG)_URL = $(mpfr_URL) +$(PKG)_URL_2 = $(mpfr_URL_2) $(PKG)_DEPS := define $(PKG)_UPDATE - wget -q --no-check-certificate -O- 'https://gforge.inria.fr/scm/viewvc.php/tags/?root=mpfr&sortby=date' | \ - $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \ - head -1 + echo $(mpfr_VERSION) endef diff --git a/src/mpfr.mk b/src/mpfr.mk index 2efb85f..58853db 100644 --- a/src/mpfr.mk +++ b/src/mpfr.mk @@ -5,11 +5,12 @@ PKG := mpfr $(PKG)_IGNORE := $(PKG)_VERSION := 3.1.0 -$(PKG)_CHECKSUM := d7d31b1cc796886a61a57a13bf43a496601d46b5 +$(PKG)_CHECKSUM := 9ba6dfe62dad298f0570daf182db31660f7f016c $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) -$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_WEBSITE := http://www.mpfr.org/ $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) +$(PKG)_URL_2 := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc gmp define $(PKG)_UPDATE |