Adding of the cmake toolchain, the shell script and patches for building the log4cxx library.