Sha256: 8291086a4d63e3546c2b8141d9366b310a8373a355adb2e28a151d8b81060906

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

src_dir = "/usr/local/src/sqlite"
install_dir = "/usr/local/sqlite"

run_unless_marker_file_exists("sqlite_0") do
  execute "download sqlite src" do
    command "mkdir -p #{src_dir} && curl -Lsf http://www.sqlite.org/sqlite-autoconf-3070602.tar.gz |  tar xvz -C#{src_dir} --strip 1"
  end

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lobot-0.10.3 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/sqlite.rb
lobot-0.10.2 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/sqlite.rb
lobot-0.10.1 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/sqlite.rb
lobot-0.10.0 lib/generators/lobot/templates/chef/cookbooks/pivotal_server/recipes/sqlite.rb