Sha256: 45f30043ae58d73a4884b94056b25dfd36fdde97a561162b8f338a694c7f23b3

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 KB

Contents

# This is an example software definition for an Erlang project.
#
# Lots of software definitions for popular open source software
# already exist in `opscode-omnibus`:
#
#  https://github.com/opscode/omnibus-software/tree/master/config/software
#
name "erlang-example"
default_version "1.0.0"

dependency "erlang"
dependency "rebar"
dependency "rsync"

source :git => "git://github.com/example/erlang.git"

relative_path "erlang-example"

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/example-erlang"
  command ["#{install_dir}/embedded/bin/rsync",
           "-a",
           "--delete",
           "--exclude=.git/***",
           "--exclude=.gitignore",
           "./rel/erlang-example/",
           "#{install_dir}/embedded/service/erlang-example/"].join(" ")
  command "rm -rf #{install_dir}/embedded/service/erlang-example/log"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
omnibus-3.2.2 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.2.1 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.2.0 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.2.0.rc.3 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.2.0.rc.2 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.2.0.rc.1 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.1.1 lib/omnibus/generator_files/software/erlang-example.rb.erb