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 value=pkg:/system/library/libfcoe@$(PKGVERS)
  28 set name=pkg.description \
  29     value="Sun FCoE (Fibre Channel over Ethernet) Port Management Library"
  30 set name=pkg.summary value="Sun FCoE Port Management Library"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:Drivers/Storage
  33 set name=variant.arch value=$(ARCH)
  34 dir path=usr group=sys
  35 dir path=usr/include
  36 dir path=usr/lib
  37 $(BUILD64)dir path=usr/lib/$(ARCH64)
  38 dir path=usr/share/man/man3fcoe
  39 dir path=usr/share/man/man3lib
  40 file path=usr/include/libfcoe.h
  41 $(BUILD64)file path=usr/lib/$(ARCH64)/libfcoe.so.1
  42 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-lfcoe.ln
  43 file path=usr/lib/libfcoe.so.1
  44 file path=usr/lib/llib-lfcoe
  45 file path=usr/lib/llib-lfcoe.ln
  46 file path=usr/share/man/man3fcoe/FCOE_CreatePort.3fcoe
  47 file path=usr/share/man/man3fcoe/FCOE_DeletePort.3fcoe
  48 file path=usr/share/man/man3fcoe/FCOE_GetPortList.3fcoe
  49 file path=usr/share/man/man3lib/libfcoe.3lib
  50 legacy pkg=SUNWfcoeu \
  51     desc="Sun FCoE (Fibre Channel over Ethernet) Port Management Library" \
  52     name="Sun FCoE Port Management Library"
  53 license cr_Sun license=cr_Sun
  54 license lic_CDDL license=lic_CDDL
  55 $(BUILD64)link path=usr/lib/$(ARCH64)/libfcoe.so target=libfcoe.so.1
  56 link path=usr/lib/libfcoe.so target=libfcoe.so.1