diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-13 18:30:49 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-11 18:30:27 +0000 |
commit | c0818088b19e9bfc7b1df57c74356a9bd4fbd870 (patch) | |
tree | 18cab02f9139668155facefbabed1f178003da2d /strata/erlang | |
parent | 496f927e7fd168f1187bd7f52894b995bfe0d13d (diff) | |
download | definitions-c0818088b19e9bfc7b1df57c74356a9bd4fbd870.tar.gz |
Add rebar and erlang-sd_notify to erlang stratum
First use:
- To use systemd notify patches in rabbitmq-server to synchronize
rabbitmq-server and rabbitmq-controler (rabbitmqctl), which looks
like is a problem with the syncronization of their erlang processes.
Diffstat (limited to 'strata/erlang')
-rw-r--r-- | strata/erlang/erlang-sd_notify.morph | 9 | ||||
-rw-r--r-- | strata/erlang/rebar.morph | 6 |
2 files changed, 15 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..7ad000a0 --- /dev/null +++ b/strata/erlang/erlang-sd_notify.morph @@ -0,0 +1,9 @@ +name: erlang +kind: chunk +build-commands: +# https://apps.fedoraproject.org/packages/erlang-sd_notify/sources/spec +- LDFLAGS=-lsystemd-daemon 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..679b6013 --- /dev/null +++ b/strata/erlang/rebar.morph @@ -0,0 +1,6 @@ +name: erlang +kind: chunk +build-commands: +- ./bootstrap +install-commands: +- install -D -m755 rebar "$DESTDIR$PREFIX"/bin/rebar |