adding rockspec and making appropriate cmake changes