Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Chef cookbook for cmake
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
attributes
recipes
spec add source installation recipe
test
.gitignore
.kitchen.yml
.rubocop.yml
.ruby-version
.travis.yml
Berksfile
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile add Rakefile
metadata.rb

README.md

chef-cmake Build Status

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

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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

Something went wrong with that request. Please try again.