2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Jim Klimov
16 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.summary value="$(COMPONENT_SUMMARY) - Groups all of NUT sub-packages"
18 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
19 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
20 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
21 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
23 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
25 # For the core functionality we need libs, bins and drivers
26 depend fmri=$(COMPONENT_FMRI)/libs@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
27 depend fmri=$(COMPONENT_FMRI)/bins@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
28 depend fmri=$(COMPONENT_FMRI)/drivers@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
30 # The following packages are optional - if installed, bind them to common version numbers
31 depend fmri=$(COMPONENT_FMRI)/devtools@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=optional
32 depend fmri=$(COMPONENT_FMRI)/cgi@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=optional
34 # If augtools are installed, then NUT packaging also requires its lenses to be installed
35 depend fmri=$(COMPONENT_FMRI)/augeas@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=conditional predicate=library/augeas-tools