I think you can try and adapt the instructions from Sec 2.6 here: http://ros.org/wiki/bloom/Tutorials/ReleaseThirdParty. Not sure what the best way to test the build is. I generally just pull in release/rosdistro/foo in my local workspace and test "catkin_make_isolated --install".