summaryrefslogtreecommitdiff
path: root/c-ares
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-06 06:23:37 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-06 06:23:37 +0400
commitc920ef10ba3e8435b851ad9556a7e2e3980a023d (patch)
tree6ef1b6811b6632713e0bd0ca4a29a6c1b9b4edf9 /c-ares
parentef58706257fa4d00b698b27feeeb3627feea8930 (diff)
downloadcibs-pkgs-c920ef10ba3e8435b851ad9556a7e2e3980a023d.tar.gz
Split c-ares
Diffstat (limited to 'c-ares')
-rw-r--r--c-ares/c-ares.p5m8
-rw-r--r--c-ares/c-ares2.p5m11
2 files changed, 14 insertions, 5 deletions
diff --git a/c-ares/c-ares.p5m b/c-ares/c-ares.p5m
index 299bbef..1422d33 100644
--- a/c-ares/c-ares.p5m
+++ b/c-ares/c-ares.p5m
@@ -25,9 +25,11 @@
set name=pkg.fmri value=pkg:/library/c-ares@$(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 c-ares.license license="$(license)"
+depend fmri=pkg:/library/c-ares2@$(ips-version) type=require
+depend fmri=pkg:/library/c-ares2@$(ips-version) type=incorporate
dir path=usr
dir path=usr/lib
@@ -84,12 +86,8 @@ file path=usr/include/ares_dns.h
file path=usr/include/ares_version.h
file path=usr/include/ares.h
-$(build32)file path=usr/lib/libcares.so.2.0.0
$(build32)file path=usr/lib/pkgconfig/libcares.pc
$(build32)link path=usr/lib/libcares.so target=libcares.so.2.0.0
-$(build32)link path=usr/lib/libcares.so.2 target=libcares.so.2.0.0
-$(build64)file path=usr/lib/$(MACH64)/libcares.so.2.0.0
$(build64)file path=usr/lib/$(MACH64)/pkgconfig/libcares.pc
$(build64)link path=usr/lib/$(MACH64)/libcares.so target=libcares.so.2.0.0
-$(build64)link path=usr/lib/$(MACH64)/libcares.so.2 target=libcares.so.2.0.0
diff --git a/c-ares/c-ares2.p5m b/c-ares/c-ares2.p5m
new file mode 100644
index 0000000..f43acde
--- /dev/null
+++ b/c-ares/c-ares2.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/c-ares2@$(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 c-ares.license license="$(license)"
+
+$(build32)file path=usr/lib/libcares.so.2.0.0
+$(build32)link path=usr/lib/libcares.so.2 target=libcares.so.2.0.0
+$(build64)file path=usr/lib/$(MACH64)/libcares.so.2.0.0
+$(build64)link path=usr/lib/$(MACH64)/libcares.so.2 target=libcares.so.2.0.0