Created
July 9, 2012 19:38
-
-
Save Keno/3078447 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe "mingw::default" | |
execute "install msys" do | |
command "mingw-get install msys" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\make.exe") } | |
end | |
execute "install wget" do | |
command "mingw-get install msys-wget" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\wget.exe") } | |
end | |
execute "install patch" do | |
command "mingw-get install msys-patch" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\patch.exe") } | |
end | |
execute "install tar" do | |
command "mingw-get install msys-tar" | |
command "mingw-get install msys-libbz2" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\tar.exe") } | |
end | |
execute "install wget" do | |
command "mingw-get install msys-perl" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\perl.exe") } | |
end | |
execute "install m4" do | |
command "mingw-get install msys-m4" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\m4.exe") } | |
end | |
execute "install flex" do | |
command "mingw-get install msys-m4" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\msys\\1.0\\bin\\flex.exe") } | |
end | |
execute "install iconv" do | |
command "mingw-get install mingw32-libiconv" | |
not_if { File.exists?("#{node[:mingw][:dir]}\\bin\\iconv.exe") } | |
end | |
env "PATH" do | |
action :modify | |
delim File::PATH_SEPARATOR | |
value "#{node[:mingw][:dir]}\\msys\\1.0\\bin" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment