Sha256: 6c48a8be99e8b78b0869f38b031d8effbdd734c864d1a9fccd69519b0d6b6461

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

src_dir = "/usr/local/src/file"

run_unless_marker_file_exists("file") do
  execute "download file src" do
    command "mkdir -p #{src_dir} && curl -Lsf ftp://ftp.astron.com/pub/file/file-5.08.tar.gz | tar xvz -C#{src_dir} --strip 1"
  end

  execute "configure file" do
    command "cd #{src_dir} && ./configure"
  end

  execute "make file" do
    command "cd #{src_dir} && make"
  end

  execute "install file" do
    command "cd #{src_dir} && make install"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lobot-0.10.3 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.10.2 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.10.1 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.10.0 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.9.7 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.9.6 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.9.5 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb
lobot-0.9.4 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/file.rb