aboutsummaryrefslogtreecommitdiff
path: root/examples/gmp
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-19 13:02:54 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-19 13:05:12 +0400
commit3e567218b60d7f885e769e1a2a07d84d38f11c13 (patch)
treef43668e026c492f304f4c827fc4b567ca85b1963 /examples/gmp
parentfdcf880b3c8c67f08453f553474a551e9707d29d (diff)
downloadcibs-3e567218b60d7f885e769e1a2a07d84d38f11c13.tar.gz
Update examples
Diffstat (limited to 'examples/gmp')
-rw-r--r--examples/gmp/gmp.p5m9
-rw-r--r--examples/gmp/gmp10.p5m11
-rw-r--r--examples/gmp/gmpxx.p5m10
-rw-r--r--examples/gmp/gmpxx10.p5m11
4 files changed, 31 insertions, 10 deletions
diff --git a/examples/gmp/gmp.p5m b/examples/gmp/gmp.p5m
index 4b4c139..f8f64c8 100644
--- a/examples/gmp/gmp.p5m
+++ b/examples/gmp/gmp.p5m
@@ -1,10 +1,13 @@
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)"
+set name=info.source-url value="$(download)"
license $(license-file) license=$(license)
+depend fmri=pkg:/library/gmp10@$(ips-version) type=require
+depend fmri=pkg:/library/gmp10@$(ips-version) type=incorporate
+
dir path=usr
dir path=usr/include
dir path=usr/lib
@@ -12,15 +15,11 @@ 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
diff --git a/examples/gmp/gmp10.p5m b/examples/gmp/gmp10.p5m
new file mode 100644
index 0000000..6ffd7ec
--- /dev/null
+++ b/examples/gmp/gmp10.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/gmp10@$(ips-version)
+set name=pkg.summary value="$(summary), shared library"
+set name=info.upstream-url value="$(home)"
+set name=info.sourcer-_url value="$(download)"
+license $(license-file) license=$(license)
+
+file path=usr/lib/$(MACH64)/libgmp.so.10.0.5
+file path=usr/lib/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.10 target=libgmp.so.10.0.5
+
diff --git a/examples/gmp/gmpxx.p5m b/examples/gmp/gmpxx.p5m
index d93a82b..7772f20 100644
--- a/examples/gmp/gmpxx.p5m
+++ b/examples/gmp/gmpxx.p5m
@@ -1,20 +1,20 @@
set name=pkg.fmri value=pkg:/library/gmpxx@$(ips-version)
set name=pkg.summary value="$(summary), C++ library"
set name=info.upstream-url value="$(home)"
-set name=info.source_url value="$(download)"
+set name=info.source-url value="$(download)"
license $(license-file) license=$(license)
depend fmri=pkg:/library/gmp@$(ips-version) type=incorporate
+depend fmri=pkg:/library/gmp@$(ips-version) type=require
+depend fmri=pkg:/library/gmpxx4@$(ips-version) type=incorporate
+depend fmri=pkg:/library/gmpxx4@$(ips-version) type=require
dir path=usr
dir path=usr/include
dir path=usr/lib
dir path=usr/lib/$(MACH64)
file path=usr/include/gmpxx.h
-file path=usr/lib/$(MACH64)/libgmpxx.so.4.2.5
-file path=usr/lib/libgmpxx.so.4.2.5
link path=usr/lib/$(MACH64)/libgmpxx.so target=libgmpxx.so.4.2.5
-link path=usr/lib/$(MACH64)/libgmpxx.so.4 target=libgmpxx.so.4.2.5
link path=usr/lib/libgmpxx.so target=libgmpxx.so.4.2.5
-link path=usr/lib/libgmpxx.so.4 target=libgmpxx.so.4.2.5
+
diff --git a/examples/gmp/gmpxx10.p5m b/examples/gmp/gmpxx10.p5m
new file mode 100644
index 0000000..94a2cf8
--- /dev/null
+++ b/examples/gmp/gmpxx10.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/gmpxx4@$(ips-version)
+set name=pkg.summary value="$(summary), C++ shared library"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+license $(license-file) license=$(license)
+
+file path=usr/lib/$(MACH64)/libgmpxx.so.4.2.5
+file path=usr/lib/libgmpxx.so.4.2.5
+link path=usr/lib/$(MACH64)/libgmpxx.so.4 target=libgmpxx.so.4.2.5
+link path=usr/lib/libgmpxx.so.4 target=libgmpxx.so.4.2.5
+