Using clang to build libraries - ginac and cln

Hi

I need to rebuild the libraries ginac and cln to work with clang31 libc++ and C++11.

Is there a tutorial anywhere on how to build the makefile to do this?

Thanks

John