system-library-storage-libmpapi.mf revision 11838:32bb5d254240
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 2010 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27set name=pkg.fmri value=pkg:/system/library/storage/libmpapi@$(PKGVERS)
28set name=pkg.description \
29    value="Common Library based on SNIA MP API specification"
30set name=pkg.summary value="SNIA Multipath Management API Common Library"
31set name=info.classification \
32    value=org.opensolaris.category.2008:System/Libraries
33set name=variant.arch value=$(ARCH)
34set name=variant.opensolaris.zone value=global value=nonglobal
35dir path=etc group=sys opensolaris.zone=global variant.opensolaris.zone=global
36dir path=lib opensolaris.zone=global variant.opensolaris.zone=global
37dir path=lib/$(ARCH64) opensolaris.zone=global variant.opensolaris.zone=global
38dir path=usr group=sys
39dir path=usr/include
40file path=etc/mpapi.conf original_name=SUNWmpapi:etc/mpapi.conf preserve=true
41file path=lib/$(ARCH64)/libMPAPI.so.1 opensolaris.zone=global \
42    variant.opensolaris.zone=global
43file path=lib/$(ARCH64)/llib-lMPAPI.ln opensolaris.zone=global \
44    variant.opensolaris.zone=global
45file path=lib/libMPAPI.so.1 opensolaris.zone=global \
46    variant.opensolaris.zone=global
47file path=lib/llib-lMPAPI opensolaris.zone=global \
48    variant.opensolaris.zone=global
49file path=lib/llib-lMPAPI.ln opensolaris.zone=global \
50    variant.opensolaris.zone=global
51file path=usr/include/mpapi-sun.h
52file path=usr/include/mpapi.h
53legacy pkg=SUNWmpapi arch=$(ARCH) category=system \
54    desc="Common Library based on SNIA MP API specification" \
55    hotline="Please contact your local service provider" \
56    name="SNIA Multipath Management API Common Library" \
57    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
58legacy pkg=SUNWmpapir arch=$(ARCH) category=system \
59    desc="Common Library based on SNIA MP API specification (Root)" \
60    hotline="Please contact your local service provider" \
61    name="SNIA Multipath Management API Common Library (Root)" \
62    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
63license cr_Sun license=cr_Sun
64license lib/mpapi/libmpapi/THIRDPARTYLICENSE \
65    license=lib/mpapi/libmpapi/THIRDPARTYLICENSE
66license lic_CDDL license=lic_CDDL
67link path=lib/$(ARCH64)/libMPAPI.so opensolaris.zone=global target=libMPAPI.so.1 \
68    variant.opensolaris.zone=global
69link path=lib/libMPAPI.so opensolaris.zone=global target=libMPAPI.so.1 \
70    variant.opensolaris.zone=global
71depend fmri=system/library/storage/libmpscsi_vhci type=require
72