nixpkgs/pkgs/servers/xmpp/ejabberd/builder.sh

11 lines
200 B
Bash
Raw Normal View History

source $stdenv/setup
tar xfvz $src
cd ejabberd-*/src
./configure --prefix=$out
make
make install
# Fix runtime dependency for erlang
sed -i -e "s|erl \\\|$erlang/bin/erl \\\|" $out/sbin/ejabberdctl