summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-06 06:48:22 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-06 06:48:22 +0400
commitc5f739811a5f58c1f14b7d26d502ff5bf2280440 (patch)
treea5a931117e240d094869e736fae18af19a6d03e5
parentae1884a1fce7019c7d487949deec0511b56fa722 (diff)
downloadcibs-pkgs-c5f739811a5f58c1f14b7d26d502ff5bf2280440.tar.gz
Split mpfr
-rw-r--r--mpfr/mpfr.p5m12
-rw-r--r--mpfr/mpfr4.p5m14
2 files changed, 18 insertions, 8 deletions
diff --git a/mpfr/mpfr.p5m b/mpfr/mpfr.p5m
index 202bbd7..de89f12 100644
--- a/mpfr/mpfr.p5m
+++ b/mpfr/mpfr.p5m
@@ -5,6 +5,9 @@ set name=info.source-url value="$(download)"
license $(license-file) license="$(license)"
+depend fmri=pkg:/library/$(name)4@$(ips-version) type=require
+depend fmri=pkg:/library/$(name)4@$(ips-version) type=incorporate
+
dir path=usr
dir path=usr/include
dir path=usr/lib
@@ -13,14 +16,7 @@ dir path=usr/share
dir path=usr/share/info
file path=usr/include/mpf2mpfr.h
file path=usr/include/mpfr.h
-file path=usr/lib/$(MACH64)/libmpfr.so.4.1.1
-file path=usr/lib/libmpfr.so.4.1.1
file path=usr/share/info/mpfr.info
+
link path=usr/lib/$(MACH64)/libmpfr.so target=libmpfr.so.4.1.1
-link path=usr/lib/$(MACH64)/libmpfr.so.4 target=libmpfr.so.4.1.1
link path=usr/lib/libmpfr.so target=libmpfr.so.4.1.1
-link path=usr/lib/libmpfr.so.4 target=libmpfr.so.4.1.1
-
-# Transitional links:
-link path=usr/lib/libmpfr.so.1 target=libmpfr.so.4
-link path=usr/lib/$(MACH64)/libmpfr.so.1 target=libmpfr.so.4
diff --git a/mpfr/mpfr4.p5m b/mpfr/mpfr4.p5m
new file mode 100644
index 0000000..5e5fa7a
--- /dev/null
+++ b/mpfr/mpfr4.p5m
@@ -0,0 +1,14 @@
+set name=pkg.fmri value=pkg:/library/$(name)4@$(ips-version)
+set name=pkg.summary value="$(summary), 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)/libmpfr.so.4.1.1
+file path=usr/lib/libmpfr.so.4.1.1
+link path=usr/lib/$(MACH64)/libmpfr.so.4 target=libmpfr.so.4.1.1
+link path=usr/lib/libmpfr.so.4 target=libmpfr.so.4.1.1
+
+# Transitional symlinks:
+link path=usr/lib/libmpfr.so.1 target=libmpfr.so.4
+link path=usr/lib/$(MACH64)/libmpfr.so.1 target=libmpfr.so.4