Sha256: 384d6452639147b578660c9d8b98a12d5fd8ee3b681bbe828d6e75d852e7046a

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 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 'erchef'
version '4b19a96d57bff9bbf4764d7323b92a0944009b9e'

dependencies %w(erlang rsync curl)

source git: 'git://github.com/opscode/erchef'

relative_path 'erchef'

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

build do
  command 'make distclean', env: env
  command 'make rel', env: env
  command "mkdir -p #{install_dir}/embedded/service/erchef"
  command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./rel/erchef/ #{install_dir}/embedded/service/erchef/"
  command "rm -rf #{install_dir}/embedded/service/erchef/log"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
omnibus-2.0.2 spec/data/software/erchef.rb
omnibus-3.0.0 spec/data/software/erchef.rb
omnibus-2.0.1 spec/data/software/erchef.rb
omnibus-2.0.0 spec/data/software/erchef.rb
omnibus-2.0.0.rc1 spec/data/software/erchef.rb