Latest version: quadrule-0~20130608.tar.gz
To install:
wget http://www.atmosp.physics.utoronto.ca/~neishm/quadrule/quadrule-0~20130608.tar.gz tar -xzvf quadrule-0~20130608.tar.gz
cd quadrule-0~20130608 ./configure
make sudo make install
For a summary of all routines available, try running
man quadrule
Here is a small sample program, which uses QUADRULE to generate and display the weights/abscissas for a Gauss-Legendre quadrature rule. To compile it:
gcc legendre.c -o legendre -lquadrule -Wl,-rpath=/usr/local/lib