# # Copyright:: Copyright (c) 2012 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an 'AS IS' BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # name 'sqlite' default_version '3.8.2' source :url => 'http://www.sqlite.org/2013/sqlite-autoconf-3080200.tar.gz', :md5 => 'f62206713e6a08d4ccbc60b1fd712a1a' relative_path 'sqlite-autoconf-3080200' build do cmd = ['./configure', "--prefix=#{install_dir}/embedded", '--disable-readline' ].join(' ') env = { 'LDFLAGS' => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", 'CFLAGS' => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", 'LD_RUN_PATH' => "#{install_dir}/embedded/lib" } command cmd, :env => env command "make -j #{workers}", :env => {'LD_RUN_PATH' => "#{install_dir}/embedded/lib"} command 'make install', :env => {'LD_RUN_PATH' => "#{install_dir}/embedded/lib"} end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15688 | Doug Scheirer |
Populate -o //guest/perforce_software/helix-web-services/... //guest/doug_scheirer/helix-web-services/.... |
||
//guest/perforce_software/helix-web-services/main/source/packaging/omnibus-helix-web-services/config/software/sqlite.rb | |||||
#1 | 15622 | tjuricek |
Move source code to 'source/' subdirectory of branch. build/ will remain where it is. |
||
//guest/perforce_software/helix-web-services/main/packaging/omnibus-helix-web-services/config/software/sqlite.rb | |||||
#1 | 14794 | tjuricek |
Omnibus installation framework. Right now, this mostly just packages up most of the software for use within an embedded ruby distribution. Not everything is working because there are decisions to make I'm not entirely sure about. Things, like, "do we embed postgres", or "do I embed unicorn and generate a stupid init.d script". |