#!/bin/bash
cd /usr/local/src
# from https://github.com/irungentoo/toxcore/blob/master/INSTALL.md#quick-install
git clone git://github.com/irungentoo/toxcore.git
cd toxcore
autoreconf -i
./configure
make
sudo make install


syntax highlighted by Code2HTML, v. 0.9.1