diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-12 10:17:41 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-13 16:38:26 +0000 |
commit | 925f4ae6679f1afed760a624c3ba5fa66a1f6d75 (patch) | |
tree | 8f9e4d88329b81636a8e30e0d25dde652a3b5771 /strata/erlang | |
parent | a2be876989a0d6f4d617dd9fd661d0eb26b5da2f (diff) | |
download | definitions-925f4ae6679f1afed760a624c3ba5fa66a1f6d75.tar.gz |
Add erlang-sd_notify and rebar to the erlang stratum
erlang-sd_notify is a package which allows erlang services
to use notify type in their systemd units.
This will be required to synchronize rabbitmq-server and
rabbitmq-controller.
rebar is an erlang compiler.
Diffstat (limited to 'strata/erlang')
-rw-r--r-- | strata/erlang/erlang-sd_notify.morph | 8 | ||||
-rw-r--r-- | strata/erlang/rebar.morph | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/strata/erlang/erlang-sd_notify.morph b/strata/erlang/erlang-sd_notify.morph new file mode 100644 index 00000000..32bf92d2 --- /dev/null +++ b/strata/erlang/erlang-sd_notify.morph @@ -0,0 +1,8 @@ +name: erlang +kind: chunk +build-commands: +- LDFLAGS=-lsystemd REBAR_FLAGS="--verbose 2" make +install-commands: +- install -D -m 644 -p ebin/sd_notify.app "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.app +- install -D -m 644 -p ebin/sd_notify.beam "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.beam +- install -D -m 755 -p priv/sd_notify_drv.so "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/priv/sd_notify_drv.so diff --git a/strata/erlang/rebar.morph b/strata/erlang/rebar.morph new file mode 100644 index 00000000..3a6134c0 --- /dev/null +++ b/strata/erlang/rebar.morph @@ -0,0 +1,6 @@ +name: erlang +kind: chunk +build-commands: +- ./bootstrap +install-commands: +- install -D -m 755 rebar "$DESTDIR$PREFIX"/bin/rebar |