uwimap: fix build using gcc14 and recompile for library/security/openssl-3
[oi-userland.git] / components / ruby / facter / Makefile
blob758e16443191a94bf6865a88ddafbc23347a5f47
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
23 include ../../../make-rules/shared-macros.mk
25 COMPONENT_NAME= facter
26 COMPONENT_VERSION= 2.4.6
27 COMPONENT_SUMMARY= Facter - collect and display facts about the system
28 COMPONENT_DESCRIPTION= The facter(8) command collects and displays facts about the current system.\
29 The library behind Facter is easy to expand, making Facter an easy way\
30 to collect information about a system from within the shell or within Ruby.
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:56ffc5fbcd550fcdb4788bc4d7fd0199bff69937d6df1e5a1f61c92d143d78fe
35 COMPONENT_ARCHIVE_URL= http://rubygems.org/gems/$(COMPONENT_SRC).gem
36 COMPONENT_PROJECT_URL= http://puppetlabs.com/facter
37 COMPONENT_FMRI= system/management/facter
38 COMPONENT_CLASSIFICATION= Development/Ruby
39 COMPONENT_LICENSE= Apache v2.0
40 COMPONENT_LICENSE_FILE= facter.license
42 # No gemspec is shipped with the gem. Create one
43 COMPONENT_POST_UNPACK_ACTION= \
44 $(GEM) spec $(USERLAND_ARCHIVES)/$(COMPONENT_ARCHIVE) --ruby > $(SOURCE_DIR)/$(GEMSPEC)
46 include $(WS_TOP)/make-rules/prep.mk
47 include $(WS_TOP)/make-rules/ips.mk
48 include $(WS_TOP)/make-rules/gem.mk
49 include $(WS_TOP)/make-rules/ruby.mk
51 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
53 # common targets
54 build: $(BUILD_32)
56 install: $(INSTALL_32)
58 # facter requires the installation of the following rubygems to run
59 # the unittests: rspec rspec-expectations mocha rake rack hiera
60 # Disable the tests until these rubygems are available.
61 test: $(NO_TESTS)
63 REQUIRED_PACKAGES += runtime/ruby-23