cookbook 'cmake', '~> 0.3.0'
cmake (2) Versions 0.3.0 Follow5
Install cmake
cookbook 'cmake', '~> 0.3.0', :supermarket
knife supermarket install cmake
knife supermarket download cmake
chef-cmake
Description
Installs cmake, the cross-platform, open-source build system.
Requirements
Supported Platforms
The following platforms are supported by this cookbook, meaning that the
recipes should run on these platforms without error:
- Ubuntu 12.04+
- Debian 6.0.8+
- CentOS/RedHat 6+
- Fedora 20+
Cookbooks
- build-essential (used for source install)
Chef
It is recommended to use a version of Chef >= 10.16.4
as that is the target of my usage and testing, though this should work with most recent versions.
Ruby
This cookbook requires Ruby 1.9+ and is tested against:
- 1.9.3
- 2.0.0
- 2.1.2
Recipes
-
cmake::default
- The default recipe which installs the package.
Usage
This cookbook installs the cmake components if not present, and pulls updates if they are installed on the system.
Attributes
default["cmake"]["install_method"] = "package" # `package` or `source` default["cmake"]["source"]["version"] = "2.8.12.2" default["cmake"]["source"]["checksum"] = "8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a120e5e"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Contributors
Many thanks go to the following contributors who have helped to make this cookbook even better:
-
@pfalcone
- add initial support for RedHat-based distributions
-
@odeits
- initial implementation of source installation recipe
License
chef-cmake
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2012-2014 Phil Cohen (github@phlippers.net)
- http://phlippers.net/
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC052: Metadata uses the deprecated "suggests" keyword: cmake/metadata.rb:16
FC064: Ensure issues_url is set in metadata: cmake/metadata.rb:1
FC065: Ensure source_url is set in metadata: cmake/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cmake/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC052: Metadata uses the deprecated "suggests" keyword: cmake/metadata.rb:16
FC064: Ensure issues_url is set in metadata: cmake/metadata.rb:1
FC065: Ensure source_url is set in metadata: cmake/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cmake/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: cmake/metadata.rb:1
FC065: Ensure source_url is set in metadata: cmake/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cmake/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number