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 
  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2014 Andrew Stormont.
  25 #
  26 
  27 #
  28 # The default for payload-bearing actions in this package is to appear in the
  29 # global zone only.  See the include file for greater detail, as well as
  30 # information about overriding the defaults.
  31 #
  32 <include global_zone_only_component>
  33 set name=pkg.fmri value=pkg:/system/library/storage/libmpscsi_vhci@$(PKGVERS)
  34 set name=pkg.description \
  35     value="SNIA MP API plugin library for the scsi_vhci driver"
  36 set name=pkg.summary value="Sun MP API library for the scsi_vhci driver"
  37 set name=info.classification \
  38     value=org.opensolaris.category.2008:System/Hardware
  39 set name=variant.arch value=$(ARCH)
  40 dir path=etc group=sys
  41 dir path=lib
  42 $(BUILD64)dir path=lib/$(ARCH64)
  43 $(BUILD64)file path=lib/$(ARCH64)/libmpscsi_vhci.so.1
  44 file path=lib/libmpscsi_vhci.so.1
  45 legacy pkg=SUNWmpsvplr \
  46     desc="SNIA MP API plugin library for the scsi_vhci driver (Root)" \
  47     name="Sun MP API library for the scsi_vhci driver (Root)"
  48 license cr_Sun license=cr_Sun
  49 license lic_CDDL license=lic_CDDL
  50 $(BUILD64)link path=lib/$(ARCH64)/libmpscsi_vhci.so target=libmpscsi_vhci.so.1
  51 link path=lib/libmpscsi_vhci.so target=libmpscsi_vhci.so.1