initial import. synced with 5b20fa5ce
added: generate pkgconfig fluff
added: generate cmake config mode file
more config mode fixes (this might break on windows, will revisit)
fix debian packaging
Merge pull request #1 from wsnipex/packaging

fix debian packaging
package the cmake config file
fixed: add tinyxml-dev dependency to the dev package
fixed: link against deps
find xbmc to pick up arch defines
install pkgconfig/cmake files to proper directories on redhat
[WIN32] fixed FindTinyXML.cmake for windows (expects the tinyxml libs in the build directory).
[WIN32] fixed CMakeLists.txt to compile and pack the xbmcplatform lib.
[WIN32] added buildsteps to prepare the environment and build the platform lib