derivation of perspective matrices

Can anybody suggest where I can find derivations for the gluPerspective
and glFrustrum matrices?

The gl matrices look very different from
those presented in computer graphics books such as Foley et al.

Alternatively, could somebody explain how to
relate the centre of projection and projection plane coordinates to the calling parameters?