Sha256: 11c787a4e2ef7d472e8d388a87835805bc2f9e1d07ba7238d32d4f646db835b8

Contents?: true

Size: 1.17 KB

Versions: 16

Compression:

Stored size: 1.17 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"
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

16 entries across 16 versions & 2 rubygems

Version Path
omnibus-2.0.2 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-3.1.0 lib/omnibus/generator_files/software/erlang-example.rb.erb
omnibus-3.0.0 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-2.0.1 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-2.0.0 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-2.0.0.rc1 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.3.0 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-sonian-1.2.0.1 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.2.0 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.1.1 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.1.0 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.0.4 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.0.3 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.0.2 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.0.1 lib/omnibus/templates/software/erlang-example.rb.erb
omnibus-1.0.0 lib/omnibus/templates/software/erlang-example.rb.erb