#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2016 Aurelien Larcher
# Copyright 2019 Alexander Pyhalov
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)/library@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY) Common Library"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

<transform file path=usr/ddu/scripts/.+ -> default mode 0555>

depend type=require fmri=system/library/storage/libmpapi

file path=/etc/security/exec_attr.d/ddu
file path=usr/ddu/bin/$(MACH)/all_devices
file path=usr/ddu/bin/$(MACH)/bat_detect
hardlink path=usr/ddu/bin/$(MACH)/cd_detect target=hd_detect
file path=usr/ddu/bin/$(MACH)/dmi_info
file path=usr/ddu/bin/$(MACH)/hd_detect pkg.depend.bypass-generate=libMPAPI.so.1
file path=usr/ddu/bin/$(MACH)/media_event
file path=usr/ddu/ddu.conf
file path=usr/ddu/scripts/3rd_drv_ins.sh
file path=usr/ddu/scripts/NIC_keywords
file path=usr/ddu/scripts/comp_lookup.sh
file path=usr/ddu/scripts/ddu_magic
file path=usr/ddu/scripts/det_info.sh
file path=usr/ddu/scripts/file_check.sh
file path=usr/ddu/scripts/find_driver.py
file path=usr/ddu/scripts/find_media.sh
file path=usr/ddu/scripts/load_driver.sh
file path=usr/ddu/scripts/noask
file path=usr/ddu/scripts/p5i_install.py
file path=usr/ddu/scripts/pkg_check.sh
file path=usr/ddu/scripts/pkg_relate.sh
file path=usr/ddu/scripts/probe.sh
file path=usr/ddu/scripts/url_down.py
file path=usr/ddu/scripts/wireless_NIC_keywords
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/ddu_devdata.py
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/ddu_errors.py
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/ddu_function.py
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/ddu_package.py
file path=usr/lib/python$(PYVER)/vendor-packages/DDU/ddu_repo.py