summaryrefslogtreecommitdiffstats
path: root/src/gcc-mpc.mk
blob: dc89d10e3b9364a9e7b294081684ae362321b43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is part of mingw-cross-env.
# See doc/index.html for further information.

# MPC for GCC
PKG             := gcc-mpc
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.8.2
$(PKG)_CHECKSUM := 339550cedfb013b68749cd47250cd26163b9edd4
$(PKG)_SUBDIR   := mpc-$($(PKG)_VERSION)
$(PKG)_FILE     := mpc-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE  := http://www.multiprecision.org/
$(PKG)_URL      := $($(PKG)_WEBSITE)/mpc/download/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    wget -q --no-check-certificate -O- 'https://gforge.inria.fr/scm/viewvc.php/tags/?root=mpc&sortby=date' | \
    $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \
    head -1
endef