system-library-storage-libmpapi.mf revision 12616:17a31b0faaa4
1250003Sadrian#
2250003Sadrian# CDDL HEADER START
3250003Sadrian#
4250003Sadrian# The contents of this file are subject to the terms of the
5250003Sadrian# Common Development and Distribution License (the "License").
6250003Sadrian# You may not use this file except in compliance with the License.
7250003Sadrian#
8250003Sadrian# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9250003Sadrian# or http://www.opensolaris.org/os/licensing.
10250003Sadrian# See the License for the specific language governing permissions
11250003Sadrian# and limitations under the License.
12250003Sadrian#
13250003Sadrian# When distributing Covered Code, include this CDDL HEADER in each
14250003Sadrian# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15250003Sadrian# If applicable, add the following below this CDDL HEADER, with the
16250003Sadrian# fields enclosed by brackets "[]" replaced with your own identifying
17250003Sadrian# information: Portions Copyright [yyyy] [name of copyright owner]
18250003Sadrian#
19250003Sadrian# CDDL HEADER END
20250003Sadrian#
21250003Sadrian
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 arch=$(ARCH) category=system \
47    desc="Common Library based on SNIA MP API specification" \
48    hotline="Please contact your local service provider" \
49    name="SNIA Multipath Management API Common Library" \
50    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
51legacy pkg=SUNWmpapir arch=$(ARCH) category=system \
52    desc="Common Library based on SNIA MP API specification (Root)" \
53    hotline="Please contact your local service provider" \
54    name="SNIA Multipath Management API Common Library (Root)" \
55    vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
56license cr_Sun license=cr_Sun
57license lib/mpapi/libmpapi/THIRDPARTYLICENSE \
58    license=lib/mpapi/libmpapi/THIRDPARTYLICENSE
59license lic_CDDL license=lic_CDDL
60link path=lib/$(ARCH64)/libMPAPI.so target=libMPAPI.so.1 \
61    variant.opensolaris.zone=global
62link path=lib/libMPAPI.so target=libMPAPI.so.1 variant.opensolaris.zone=global
63depend fmri=system/library/storage/libmpscsi_vhci type=require
64