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/storage/ima@$(PKGVERS)
  28 set name=pkg.description \
  29     value="SNIA iSCSI Managment API plugin library for iSCSI adapters"
  30 set name=pkg.summary value="Solaris IMA Software Initiator Plugin"
  31 set name=info.classification \
  32     value="org.opensolaris.category.2008:Applications/Plug-ins and Run-times"
  33 set name=variant.arch value=$(ARCH)
  34 dir path=etc group=sys
  35 dir path=usr group=sys
  36 dir path=usr/lib
  37 $(BUILD64)dir path=usr/lib/$(ARCH64)
  38 $(BUILD64)file path=usr/lib/$(ARCH64)/libsun_ima.so.1
  39 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-lima.ln
  40 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-lsun_ima.ln
  41 file path=usr/lib/libsun_ima.so.1
  42 file path=usr/lib/llib-lima
  43 file path=usr/lib/llib-lima.ln
  44 file path=usr/lib/llib-lsun_ima
  45 file path=usr/lib/llib-lsun_ima.ln
  46 legacy pkg=SUNWima \
  47     desc="SNIA iSCSI Managment API plugin library for iSCSI adapters" \
  48     name="Solaris IMA Software Initiator Plugin"
  49 legacy pkg=SUNWimar \
  50     desc="SNIA iSCSI Managment API plugin library for iSCSI adapters (Root)" \
  51     name="Solaris IMA Software Initiator Plugin (Root)"
  52 license cr_Sun license=cr_Sun
  53 license lic_CDDL license=lic_CDDL
  54 license usr/src/lib/libima/THIRDPARTYLICENSE \
  55     license=usr/src/lib/libima/THIRDPARTYLICENSE
  56 $(BUILD64)link path=usr/lib/$(ARCH64)/libsun_ima.so target=libsun_ima.so.1
  57 link path=usr/lib/libsun_ima.so target=libsun_ima.so.1