aboutsummaryrefslogtreecommitdiff
path: root/examples/gmp/gmp.p5m
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/gmp.p5m
parent47daa78cbd3d11b0ad6b3a78a947ddc4a4cb0f2f (diff)
downloadcibs-ce7d7fd0f0a40368d9dddcbf972063f6ff4e04b9.tar.gz
Example: GMP 5
Diffstat (limited to 'examples/gmp/gmp.p5m')
-rw-r--r--examples/gmp/gmp.p5m30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/gmp/gmp.p5m b/examples/gmp/gmp.p5m
new file mode 100644
index 0000000..5af61cc
--- /dev/null
+++ b/examples/gmp/gmp.p5m
@@ -0,0 +1,30 @@
+set name=pkg.fmri value=pkg:/library/gmp@$(ips_version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+
+license $(license-file) license=$(license)
+
+dir path=usr
+dir path=usr/include
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+dir path=usr/share
+dir path=usr/share/info
+file path=usr/include/gmp.h
+file path=usr/lib/$(MACH64)/libgmp.so.10.0.5
+file path=usr/lib/libgmp.so.10.0.5
+file path=usr/share/info/gmp.info
+file path=usr/share/info/gmp.info-1
+file path=usr/share/info/gmp.info-2
+link path=usr/lib/$(MACH64)/libgmp.so target=libgmp.so.10.0.5
+link path=usr/lib/$(MACH64)/libgmp.so.10 target=libgmp.so.10.0.5
+link path=usr/lib/libgmp.so target=libgmp.so.10.0.5
+link path=usr/lib/libgmp.so.10 target=libgmp.so.10.0.5
+
+# GMP 5.0 is upwardly source and binary compatible with 4.x,
+# and 3.x versions, except for applications that use
+# the semi-documented mpn_bdivmod function.
+link path=usr/lib/$(MACH64)/libgmp.so.3 target=libgmp.so.10
+link path=usr/lib/libgmp.so.3 target=libgmp.so.10
+