Overview
Creating a new package or converting an old one so that it can be mingw cross compiled requires that it be catkinized.
This is quite different to the old rosbuild style development for packages, and it is also important to note, that once catkinized, it can't be built with the traditional rosbuild technique.
For more details on how to do this, refer to the guide on catkinization.