summaryrefslogtreecommitdiff
path: root/gmp/Makefile
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
commit98cb3b26f4043c9a83029c21855ff61b7601e611 (patch)
treee0e08eb9e6a168c65444dfc9751a522cb08b0ab3 /gmp/Makefile
downloadcibs-pkgs-98cb3b26f4043c9a83029c21855ff61b7601e611.tar.gz
Initial commit from cibs/examples
Diffstat (limited to 'gmp/Makefile')
-rw-r--r--gmp/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/gmp/Makefile b/gmp/Makefile
new file mode 100644
index 0000000..eec700f
--- /dev/null
+++ b/gmp/Makefile
@@ -0,0 +1,28 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
+include /usr/share/cibs/rules/64.mk
+
+summary := GNU library for arbitrary precision arithmetic
+license := LGPLv3
+license-file := COPYING.LIB
+
+build-depends += \
+ pkg:/developer/macro/gnu-m4
+
+configure-options += --enable-cxx
+
+# http://gmplib.org/manual/ABI-and-ISA.html
+configure-options.32 += ABI=32
+
+name := gmp
+home := http://www.gnu.org/software/$(name)/
+version := 5.0.5
+archive := $(name)-$(version).tar.bz2
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:041487d25e9c230b0c42b106361055fe \
+ sha1:12a662456033e21aed3e318aef4177f4000afe3b \
+ sha256:1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9 \
+ size:2052144