Cuba was written by Thomas Hahn and is distributed under the LGPL (see COPYING). Refer to the main website http://www.feynarts.de/cuba/
To build libcuba.a and libcuba.so, run:
$ ./configure $ make $ ./makesharedlib.sh # (instead of make for libcuba.so)
To use Cuba with Python, see the PyCuba project and its documentation.