File: install-metronome.sh

package info (click to toggle)
python-aioxmpp 0.13.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 6,244 kB
  • sloc: python: 97,761; xml: 215; makefile: 155; sh: 63
file content (18 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash -x
set -euo pipefail
if [ "x${WITH_BUILD_DEP:-no}" = 'xyes' ]; then
    sudo apt-get build-dep prosody
fi
pip install hererocks
hererocks lua_install -r^ --lua=5.1
luarocks install luaexpat
luarocks install luafilesystem
luarocks install luasocket
luarocks install luasec
luarocks install luabitop
luarocks install luaevent
git clone https://github.com/maranda/metronome metronome --branch "$METRONOME_VERSION"
cp -r utils/metronome-cfg/$METRONOME_VERSION/* metronome/
cd metronome
./configure "--with-lua=$(pwd)/../lua_install"
make