Sha256: b1743f51654e6910ab9b74024cac875d035acbc8a6b68c0c29ab6943a266c25c

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

#
# Copyright:: Copyright (c) 2012-2014 Chef Software, 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 "spawn-fcgi"
default_version "1.6.3"

dependency "fcgi"
dependency "fcgiwrap"

source :url => "http://www.lighttpd.net/download/spawn-fcgi-1.6.3.tar.gz",
       :md5 => "6d75f9e9435056fa1e574d836d823cd0"

relative_path "spawn-fcgi-1.6.3"

configure_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",
  "PATH" => "#{install_dir}/embedded/bin:#{ENV["PATH"]}"
}

build do
  command "./configure --prefix=#{install_dir}/embedded", :env => configure_env
  command "make -j #{workers}", :env => {"LD_RUN_PATH" => "#{install_dir}/embedded/lib"}
  command "make install"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omnibus-3.2.2 spec/data/complicated/config/software/spawn-fcgi.rb