Installs cmake, the cross-platform, open-source build system.
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+
- build-essential (used for source install)
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.
This cookbook requires Ruby 1.9+ and is tested against:
- 1.9.3
- 2.0.0
- 2.1.2
cmake::default
- The default recipe which installs the package.
This cookbook installs the cmake components if not present, and pulls updates if they are installed on the system.
default["cmake"]["install_method"] = "package" # `package` or `source`
default["cmake"]["source"]["version"] = "2.8.12.2"
default["cmake"]["source"]["checksum"] = "8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a120e5e"
- 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
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
chef-cmake
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2012-2014 Phil Cohen (github@phlippers.net)
- http://phlippers.net/