system-library-storage-libmpapi.mf revision 13057:97ef25510836
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#
25
26set name=pkg.fmri value=pkg:/system/library/storage/libmpapi@$(PKGVERS)
27set name=pkg.description \
28    value="Common Library based on SNIA MP API specification"
29set name=pkg.summary value="SNIA Multipath Management API Common Library"
30set name=info.classification \
31    value=org.opensolaris.category.2008:System/Libraries
32set name=variant.arch value=$(ARCH)
33dir path=etc group=sys variant.opensolaris.zone=global
34dir path=lib variant.opensolaris.zone=global
35dir path=lib/$(ARCH64) variant.opensolaris.zone=global
36dir path=usr group=sys
37dir path=usr/include
38file path=etc/mpapi.conf original_name=SUNWmpapi:etc/mpapi.conf preserve=true
39file path=lib/$(ARCH64)/libMPAPI.so.1 variant.opensolaris.zone=global
40file path=lib/$(ARCH64)/llib-lMPAPI.ln variant.opensolaris.zone=global
41file path=lib/libMPAPI.so.1 variant.opensolaris.zone=global
42file path=lib/llib-lMPAPI variant.opensolaris.zone=global
43file path=lib/llib-lMPAPI.ln variant.opensolaris.zone=global
44file path=usr/include/mpapi-sun.h
45file path=usr/include/mpapi.h
46legacy pkg=SUNWmpapi desc="Common Library based on SNIA MP API specification" \
47    name="SNIA Multipath Management API Common Library"
48legacy pkg=SUNWmpapir \
49    desc="Common Library based on SNIA MP API specification (Root)" \
50    name="SNIA Multipath Management API Common Library (Root)"
51license cr_Sun license=cr_Sun
52license lic_CDDL license=lic_CDDL
53license usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE \
54    license=usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE
55link path=lib/$(ARCH64)/libMPAPI.so target=libMPAPI.so.1 \
56    variant.opensolaris.zone=global
57link path=lib/libMPAPI.so target=libMPAPI.so.1 variant.opensolaris.zone=global
58depend fmri=system/library/storage/libmpscsi_vhci type=require
59