Sha256: 1f8c2930f8e450c8d504914853f78790ed17030c3ad9aedbee5083650a93d6dd
Contents?: true
Size: 1.86 KB
Versions: 7
Compression:
Stored size: 1.86 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 "nagios-plugins" default_version "1.4.15" dependency "zlib" dependency "openssl" dependency "postgresql" dependency "libiconv" # the url is the location of a redirect from sourceforge source :url => "http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz", :md5 => "56abd6ade8aa860b38c4ca4a6ac5ab0d" relative_path "nagios-plugins-1.4.15" 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" } gem_env = {"GEM_PATH" => nil, "GEM_HOME" => nil} build do # configure it command(["./configure", "--prefix=#{install_dir}/embedded/nagios", "--with-trusted-path=#{install_dir}/bin:#{install_dir}/embedded/bin:/bin:/sbin:/usr/bin:/usr/sbin", "--with-openssl=#{install_dir}/embedded", "--with-pgsql=#{install_dir}/embedded", "--with-libiconv-prefix=#{install_dir}/embedded"].join(" "), :env => configure_env) # build it command "make -j #{max_build_jobs}", :env => {"LD_RUN_PATH" => "#{install_dir}/embedded/lib"} command "sudo make install" end
Version data entries
7 entries across 7 versions & 1 rubygems