summaryrefslogtreecommitdiff
path: root/gmp
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-05 13:12:27 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-05 13:12:27 +0400
commit9c2569500d1536662eb2e2f0ea51b205398c2f4a (patch)
tree9a8ac1c769536f11baeae0baee2232f493677913 /gmp
parent10dfc69073ddd934e5744ed17f24ae11d45fbc12 (diff)
downloadcibs-pkgs-9c2569500d1536662eb2e2f0ea51b205398c2f4a.tar.gz
Split gmp
Diffstat (limited to 'gmp')
-rw-r--r--gmp/gmp.p5m9
-rw-r--r--gmp/gmp10.p5m11
-rw-r--r--gmp/gmpxx.p5m10
-rw-r--r--gmp/gmpxx10.p5m11
4 files changed, 31 insertions, 10 deletions
diff --git a/gmp/gmp.p5m b/gmp/gmp.p5m
index 4b4c139..f8f64c8 100644
--- a/gmp/gmp.p5m
+++ b/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/gmp/gmp10.p5m b/gmp/gmp10.p5m
new file mode 100644
index 0000000..6ffd7ec
--- /dev/null
+++ b/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/gmp/gmpxx.p5m b/gmp/gmpxx.p5m
index d93a82b..7772f20 100644
--- a/gmp/gmpxx.p5m
+++ b/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/gmp/gmpxx10.p5m b/gmp/gmpxx10.p5m
new file mode 100644
index 0000000..94a2cf8
--- /dev/null
+++ b/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
+