summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-10 15:48:48 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-10 15:48:48 +0400
commitd3b91db21115c0645281e1322eb1798391f47b19 (patch)
tree4c9aad3cd06b588a99caceabce48644cd658e98d
parentc2588408c3ba960f8aa5ec9e9646652b0de77e78 (diff)
downloadcibs-pkgs-d3b91db21115c0645281e1322eb1798391f47b19.tar.gz
Split libpgm, add 32-bit
-rw-r--r--openpgm/Makefile1
-rw-r--r--openpgm/libpgm-5.1-0.p5m11
-rw-r--r--openpgm/libpgm.p5m9
3 files changed, 16 insertions, 5 deletions
diff --git a/openpgm/Makefile b/openpgm/Makefile
index ab2a282..534f229 100644
--- a/openpgm/Makefile
+++ b/openpgm/Makefile
@@ -3,6 +3,7 @@ include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/patch.mk
include /usr/share/cibs/rules/autoreconf.mk
include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
include /usr/share/cibs/rules/64.mk
configure := $(sourcedir)/openpgm/pgm/configure
diff --git a/openpgm/libpgm-5.1-0.p5m b/openpgm/libpgm-5.1-0.p5m
new file mode 100644
index 0000000..27fa120
--- /dev/null
+++ b/openpgm/libpgm-5.1-0.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/libpgm-5.1-0@$(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)/libpgm-5.1.so.0.0.118
+file path=usr/lib/libpgm-5.1.so.0.0.118
+link path=usr/lib/libpgm-5.1.so.0 target=libpgm-5.1.so.0.0.118
+link path=usr/lib/$(MACH64)/libpgm-5.1.so.0 target=libpgm-5.1.so.0.0.118
diff --git a/openpgm/libpgm.p5m b/openpgm/libpgm.p5m
index 573ec84..987171d 100644
--- a/openpgm/libpgm.p5m
+++ b/openpgm/libpgm.p5m
@@ -25,9 +25,12 @@
set name=pkg.fmri value=pkg:/library/libpgm@$(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/libpgm-5.1-0@$(ips-version) type=require
+depend fmri=pkg:/library/libpgm-5.1-0@$(ips-version) type=incorporate
+
dir path=usr
dir path=usr/lib
dir path=usr/lib/$(MACH64)
@@ -36,9 +39,7 @@ dir path=usr/lib/pkgconfig
dir path=usr/include
dir path=usr/include/pgm-5.1
dir path=usr/include/pgm-5.1/pgm
-file path=usr/lib/$(MACH64)/libpgm-5.1.so.0.0.118
file path=usr/lib/$(MACH64)/pkgconfig/openpgm-5.1.pc
-file path=usr/lib/libpgm-5.1.so.0.0.118
file path=usr/lib/pkgconfig/openpgm-5.1.pc
file path=usr/include/pgm-5.1/pgm/msgv.h
file path=usr/include/pgm-5.1/pgm/time.h
@@ -62,7 +63,5 @@ file path=usr/include/pgm-5.1/pgm/socket.h
file path=usr/include/pgm-5.1/pgm/gsi.h
file path=usr/include/pgm-5.1/pgm/mem.h
file path=usr/include/pgm-5.1/pgm/if.h
-link path=usr/lib/libpgm-5.1.so.0 target=libpgm-5.1.so.0.0.118
-link path=usr/lib/$(MACH64)/libpgm-5.1.so.0 target=libpgm-5.1.so.0.0.118
link path=usr/lib/$(MACH64)/libpgm.so target=libpgm-5.1.so.0.0.118
link path=usr/lib/libpgm.so target=libpgm-5.1.so.0.0.118