Skip to content

Instantly share code, notes, and snippets.

@jslatts
Created November 14, 2011 22:49
Show Gist options
  • Save jslatts/1365470 to your computer and use it in GitHub Desktop.
Save jslatts/1365470 to your computer and use it in GitHub Desktop.
Chef recipe to pull from hg and build
#
# Cookbook Name:: aggdraw::install
# Recipe:: default
#
# Copyright 2011, SGL
#
# All rights reserved - Do Not Redistribute
#
# Download and install aggdraw from our local repository
include_recipe "aggdraw"
execute "build aggdraw" do
command "python setup.py clean build install"
cwd "/tmp/source/aggdraw"
action :run
end
#
# Cookbook Name:: aggdraw
# Recipe:: default
#
# Copyright 2011, SGL
#
# All rights reserved - Do Not Redistribute
#
# Download and install aggdraw from our local repository
include_recipe "mercurial"
include_recipe "hg"
directory "/tmp/source" do
owner "root"
group "root"
mode "0755"
action :create
end
hg "/tmp/source/aggdraw" do
repository "http://siggenweb02.perkinelmer.net/FogBugz/kiln/Repo/Misc/Group/aggdraw"
reference "tip"
action :sync
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment