summaryrefslogtreecommitdiffstats
path: root/src/gcc-mpfr.mk
blob: 39d9de8ea1d5a88dd187090c7eb1560269dad04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# MPFR for GCC

PKG            := gcc-mpfr
$(PKG)_VERSION := 2.3.2
$(PKG)_SUBDIR  := mpfr-$($(PKG)_VERSION)
$(PKG)_FILE    := mpfr-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.mpfr.org/
$(PKG)_URL     := http://$(SOURCEFORGE_MIRROR)/tdm-gcc/$($(PKG)_FILE)
$(PKG)_DEPS    :=

define $(PKG)_UPDATE
    wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=200665&package_id=238462' | \
    grep 'mpfr-' | \
    $(SED) -n 's,.*mpfr-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef