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/header-ima@$(PKGVERS)
  28 set name=pkg.description \
  29     value="SNIA iSCSI Managment API common library for iSCSI adapters"
  30 set name=pkg.summary value="Solaris IMA Common Library"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:System/Libraries
  33 set name=variant.arch value=$(ARCH)
  34 dir path=etc group=sys
  35 dir path=usr group=sys
  36 dir path=usr/include
  37 dir path=usr/lib
  38 $(BUILD64)dir path=usr/lib/$(ARCH64)
  39 file path=etc/ima.conf original_name=SUNWimac:etc/ima.conf preserve=true
  40 file path=usr/include/ima.h
  41 file path=usr/include/libsun_ima.h
  42 $(BUILD64)file path=usr/lib/$(ARCH64)/libima.so.1
  43 file path=usr/lib/libima.so.1
  44 legacy pkg=SUNWimac \
  45     desc="SNIA iSCSI Managment API common library for iSCSI adapters" \
  46     name="Solaris IMA Common Library"
  47 legacy pkg=SUNWimacr \
  48     desc="SNIA iSCSI Managment API common library for iSCSI adapters (Root)" \
  49     name="Solaris IMA Common Library (Root)"
  50 license cr_Sun license=cr_Sun
  51 license lic_CDDL license=lic_CDDL
  52 license usr/src/lib/libima/THIRDPARTYLICENSE \
  53     license=usr/src/lib/libima/THIRDPARTYLICENSE
  54 $(BUILD64)link path=usr/lib/$(ARCH64)/libima.so target=libima.so.1
  55 link path=usr/lib/libima.so target=libima.so.1
  56 depend fmri=system/library/storage/ima type=require