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

PKG            := gcc-gmp
$(PKG)_VERSION := 4.2.4
$(PKG)_SUBDIR  := gmp-$($(PKG)_VERSION)
$(PKG)_FILE    := gmp-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.gmplib.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 'gmp-' | \
    $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef