Commit bb581878 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: add gmp

parent b222a7a5
b53cc482e73aa91ae4f83301d9ef83a98cd85cfe53347e102a059fa477edceebded466223b436bc250314eb6ec2e53ecc4fa1528341435f09e232f0c4e305bad gmp-5.0.2.tar.bz2
# GNU Multiple Precision Arithmetic
GMP_VERSION := 5.0.2
GMP_URL := ftp://ftp.gmplib.org/pub/gmp-$(GMP_VERSION)/gmp-$(GMP_VERSION).tar.bz2
$(TARBALLS)/gmp-$(GMP_VERSION).tar.bz2:
$(call download,$(GMP_URL))
.sum-gmp: gmp-$(GMP_VERSION).tar.bz2
gmp: gmp-$(GMP_VERSION).tar.bz2 .sum-gmp
$(UNPACK)
$(MOVE)
.gmp: gmp
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
...@@ -14,6 +14,8 @@ nettle: nettle-$(NETTLE_VERSION).tar.gz .sum-nettle ...@@ -14,6 +14,8 @@ nettle: nettle-$(NETTLE_VERSION).tar.gz .sum-nettle
$(UNPACK) $(UNPACK)
$(MOVE) $(MOVE)
DEPS_nettle = gmp $(DEPS_gmp)
.nettle: nettle .nettle: nettle
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install cd $< && $(MAKE) install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment