components/libusb/wrapper/libusb.p5m
author John Beck <John.Beck@Oracle.COM>
Wed, 28 Oct 2015 08:34:09 -0700
changeset 5045 906daaa0ae92
parent 4434 c35bb70ab3d8
child 5158 4329bdf8a087
permissions -rw-r--r--
22112315 libusb needs SOLARIS_12_ONLY macro for libusb.3lib page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    21
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    23
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
set name=pkg.fmri \
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
    value=pkg:/system/library/usb/libusb@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    26
set name=pkg.summary value="Sun wrapper library for libusb"
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 569
diff changeset
    27
set name=pkg.human-version value=$(COMPONENT_VERSION)
1205
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 700
diff changeset
    28
set name=com.oracle.info.description value="the wrapper library for libusb"
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1795
diff changeset
    29
set name=com.oracle.info.tpno value=$(TPNO)
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
set name=info.classification \
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    31
    value=org.opensolaris.category.2008:System/Libraries
464
08f94c414553 7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 229
diff changeset
    32
set name=info.source-url value=http://opensolaris.org/
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    33
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    34
set name=org.opensolaris.arc-caseid value=PSARC/2003/721
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
file $(MACH32)/libusb-config path=usr/bin/libusb-config
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
file $(MACH32)/usb.h path=usr/include/usb.h
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    40
link path=usr/lib/$(MACH64)/libusb.so target=libusb.so.1
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    41
file $(MACH64)/libusb.so.1 path=usr/lib/$(MACH64)/libusb.so.1
700
25f37517d706 6995155 libusb.pc is not delivered
Rich Burridge <rich.burridge@oracle.com>
parents: 609
diff changeset
    42
file libusb-64.pc path=usr/lib/$(MACH64)/pkgconfig/libusb.pc
229
1fd565334dfc 7043696 libusb should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    43
link path=usr/lib/libusb.so target=libusb.so.1
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    44
file $(MACH32)/libusb.so.1 path=usr/lib/libusb.so.1
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    45
file $(MACH32)/libusb.pc path=usr/lib/pkgconfig/libusb.pc
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    46
file $(MACH32)/libusb.txt path=usr/share/doc/libusb/libusb.txt
4434
c35bb70ab3d8 21210461 add libusb.3lib to Userland
John Beck <John.Beck@Oracle.COM>
parents: 3732
diff changeset
    47
# This page is pre-Solarified, so no mangling needed.
5045
906daaa0ae92 22112315 libusb needs SOLARIS_12_ONLY macro for libusb.3lib page
John Beck <John.Beck@Oracle.COM>
parents: 4434
diff changeset
    48
$(SOLARIS_12_ONLY)file libusb.3lib path=usr/share/man/man3lib/libusb.3lib \
906daaa0ae92 22112315 libusb needs SOLARIS_12_ONLY macro for libusb.3lib page
John Beck <John.Beck@Oracle.COM>
parents: 4434
diff changeset
    49
    $(SOLARIS_12_ONLY)mangler.bypass=true
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    50
legacy pkg=SUNWlibusb desc="Sun wrapper library for libusb" \
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    51
    name="Sun wrapper library for libusb"
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    52
license libusb.license license=BSD
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    53
depend type=require fmri=system/library/usb/libusbugen