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 2018 Jason King
24# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
25#
26
27set name=pkg.fmri value=pkg:/system/library/demangle@$(PKGVERS)
28set name=pkg.summary value="Symbol demangling support"
29set name=pkg.description value="Software libraries for demangling symbols"
30set name=info.classification value=org.opensolaris.category.2008:System/Core
31set name=variant.arch value=$(ARCH)
32dir  path=usr group=sys
33dir  path=usr/include
34file path=usr/include/demangle-sys.h
35dir  path=usr/lib
36dir  path=usr/lib/$(ARCH64)
37link path=usr/lib/$(ARCH64)/libdemangle-sys.so target=./libdemangle-sys.so.1
38file path=usr/lib/$(ARCH64)/libdemangle-sys.so.1
39link path=usr/lib/libdemangle-sys.so target=./libdemangle-sys.so.1
40file path=usr/lib/libdemangle-sys.so.1
41license lic_CDDL license=lic_CDDL
42license usr/src/lib/libdemangle/THIRDPARTYLICENSE \
43    license=usr/src/lib/libdemangle/THIRDPARTYLICENSE
44