aboutsummaryrefslogtreecommitdiff
path: root/examples/gmp/Makefile
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-26 21:42:20 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-26 21:42:20 +0400
commitce7d7fd0f0a40368d9dddcbf972063f6ff4e04b9 (patch)
tree3c998b2fbb3a4a280ef455be8bb3cbed08f4b599 /examples/gmp/Makefile
parent47daa78cbd3d11b0ad6b3a78a947ddc4a4cb0f2f (diff)
downloadcibs-ce7d7fd0f0a40368d9dddcbf972063f6ff4e04b9.tar.gz
Example: GMP 5
Diffstat (limited to 'examples/gmp/Makefile')
-rw-r--r--examples/gmp/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/gmp/Makefile b/examples/gmp/Makefile
new file mode 100644
index 0000000..3539793
--- /dev/null
+++ b/examples/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 += ABI=$(bits)
+
+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