From c920ef10ba3e8435b851ad9556a7e2e3980a023d Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 6 Dec 2012 06:23:37 +0400 Subject: Split c-ares --- c-ares/c-ares.p5m | 8 +++----- c-ares/c-ares2.p5m | 11 +++++++++++ 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 c-ares/c-ares2.p5m 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 -- cgit v1.2.3