1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2015 Gary Mills
  22 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
  23 #
  24 
  25 set name=pkg.fmri \
  26     value=pkg:/library/zlib@1.2.8,$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
  27 set name=pkg.description value="the zip compression library"
  28 set name=pkg.summary value="The Zip compression library"
  29 set name=info.classification \
  30     value=org.opensolaris.category.2008:System/Libraries
  31 set name=variant.arch value=$(ARCH)
  32 #
  33 dir path=lib
  34 dir path=usr group=sys
  35 dir path=usr/include
  36 dir path=usr/lib
  37 dir path=usr/lib/$(ARCH64)
  38 dir path=usr/share/man
  39 dir path=usr/share/man/man3
  40 file path=lib/$(ARCH64)/libz.so.1
  41 file path=lib/$(ARCH64)/llib-lz.ln
  42 file path=lib/libz.so.1
  43 file path=lib/llib-lz
  44 file path=lib/llib-lz.ln
  45 file path=usr/include/zconf.h
  46 file path=usr/include/zlib.h
  47 file path=usr/share/man/man3/zlib.3
  48 #
  49 license usr/src/lib/zlib/THIRDPARTYLICENSE \
  50     license=usr/src/lib/zlib/THIRDPARTYLICENSE
  51 link path=lib/$(ARCH64)/libz.so target=libz.so.1
  52 link path=lib/libz.so target=libz.so.1
  53 link path=usr/lib/$(ARCH64)/libz.so target=libz.so.1
  54 link path=usr/lib/$(ARCH64)/libz.so.1 target=../../../lib/$(ARCH64)/libz.so.1
  55 link path=usr/lib/$(ARCH64)/llib-lz.ln \
  56     target=../../../lib/$(ARCH64)/llib-lz.ln
  57 link path=usr/lib/libz.so target=./libz.so.1
  58 link path=usr/lib/libz.so.1 target=../../lib/libz.so.1
  59 link path=usr/lib/llib-lz.ln target=../../lib/llib-lz.ln
  60 link path=usr/share/man/man3/libz.3 target=zlib.3