Sha256: 2f80af6e4ec328799191c5a96d7c0d5472d7724a7d774f91ba8ea5318610c398

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 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 "keepalived"
default_version "1.2.9"

dependency "popt"
dependency "openssl"

source :url => "http://www.keepalived.org/software/keepalived-1.2.9.tar.gz",
       :md5 => "adfad98a2cc34230867d794ebc633492"

relative_path "keepalived-1.2.9"

env = {
  "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include",
  "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include -static-libgcc",
  "LD_RUN_PATH" => "#{install_dir}/embedded/lib"
}

build do
  # This is cherry-picked from change
  # d384ce8b3492b9d76af23e621a20bed8da9c6016 of keepalived, (master
  # branch), and should be no longer necessary after 1.2.9.
  patch :source => "keepalived-1.2.9_opscode_centos_5.patch"
  command "./configure --prefix=#{install_dir}/embedded --disable-iconv", :env => env
  command "make -j #{workers}", :env => env
  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/keepalived.rb