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 set name=pkg.fmri \
  28     value=pkg:/system/library/storage/fibre-channel/hbaapi@$(PKGVERS)
  29 set name=pkg.description \
  30     value="Common Fibre Channel HBA API Library based on the T11 FC-MI specification"
  31 set name=pkg.summary value="Common Fibre Channel HBA API Library"
  32 set name=info.classification \
  33     value=org.opensolaris.category.2008:System/Libraries
  34 set name=variant.arch value=$(ARCH)
  35 dir path=etc group=sys
  36 dir path=usr group=sys
  37 dir path=usr/include
  38 dir path=usr/lib
  39 $(BUILD64)dir path=usr/lib/$(ARCH64)
  40 dir path=usr/share/man
  41 dir path=usr/share/man/man4
  42 file path=etc/hba.conf original_name=SUNWcfcl:etc/hba.conf preserve=true
  43 file path=usr/include/hbaapi.h
  44 $(BUILD64)file path=usr/lib/$(ARCH64)/libHBAAPI.so.1
  45 file path=usr/lib/libHBAAPI.so.1
  46 file path=usr/share/man/man4/hba.conf.4
  47 legacy pkg=SUNWcfcl \
  48     desc="Common Fibre Channel HBA API Library based on the T11 FC-MI specification" \
  49     name="Common Fibre Channel HBA API Library (Usr)"
  50 legacy pkg=SUNWcfclr \
  51     desc="Common Fibre Channel HBA API Library based on the T11 FC-MI specification" \
  52     name="Common Fibre Channel HBA API Library (Root)"
  53 license cr_Sun license=cr_Sun
  54 license lic_CDDL license=lic_CDDL
  55 license usr/src/lib/hbaapi/THIRDPARTYLICENSE \
  56     license=usr/src/lib/hbaapi/THIRDPARTYLICENSE
  57 $(BUILD64)link path=usr/lib/$(ARCH64)/libHBAAPI.so target=libHBAAPI.so.1
  58 link path=usr/lib/libHBAAPI.so target=libHBAAPI.so.1
  59 depend fmri=system/library/storage/fibre-channel/libsun_fc type=require