21 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= facter |
25 COMPONENT_NAME= facter |
26 COMPONENT_VERSION= 1.6.16 |
26 COMPONENT_VERSION= 1.6.18 |
27 COMPONENT_PROJECT_URL= http://puppetlabs.com/ |
27 COMPONENT_PROJECT_URL= http://puppetlabs.com/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:fcac57ea59e004e131a2c66be030109465c89c1b30d91c26d1b5cdcf10379125 |
31 sha256:18a63a04a32713c52270000c548fd1fcdf66e30e8ec29ace65225f12f5517f2b |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/facter/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/facter/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/puppet |
33 COMPONENT_BUGDB= utility/puppet |
34 |
34 |
35 include $(WS_TOP)/make-rules/prep.mk |
35 include $(WS_TOP)/make-rules/prep.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
37 include $(WS_TOP)/make-rules/ips.mk |
37 include $(WS_TOP)/make-rules/ips.mk |
38 |
38 |
39 # common targets |
39 # common targets |
40 build: $(BUILD_32) |
40 build: $(BUILD_64) |
41 |
41 |
42 install: $(INSTALL_32) |
42 install: $(INSTALL_64) |
43 |
43 |
44 # facter requires the installation of the following rubygems to run |
44 # facter requires the installation of the following rubygems to run |
45 # the unittests: rspec rspec-expectations mocha rake rack hiera |
45 # the unittests: rspec rspec-expectations mocha rake rack hiera |
46 # Disable the tests until these rubygems are available. |
46 # Disable the tests until these rubygems are available. |
47 test: $(NO_TESTS) |
47 test: $(NO_TESTS) |