title: Cmake with bitbake recipe
body: <p>I am trying to build an yocto image with my own package. I have OpenCV code on github which uses cmake. </p>
  
  <p>I trying to write a recipe for it and facing lot of errors. Can any one give some hints on what functions or parameters to include in my recipe. My recipe looks as following</p>
  
  <pre><code>DESCRIPTION = "cameracapture application" 
  SECTION = "examples" 
  LICENSE = "CLOSED" 
  PR = "r0" 
  
  DEPENDS += "opencv"
  
  SRC_URI = "git://https://github.com/zafrullahsyed/cameracapture.git;protocol=https;tag=v0.1"
  
  EXTRA_OECMAKE=""
  
  do_configure() { 
   cmake ../ 
  } 
  
  inherit pkgconfig cmake
  </code></pre>
  
  <p>I followed these tutorials to write my recipe with cmake but in vain:
  <a href="http://playerstage.sourceforge.net/wiki/Cross_Compile_Player_with_Openembedded_and_BitBake#Player_Recipe" rel="noreferrer">Bitbake Player recipe</a></p>
  
  <p><a href="http://cor-net.org/hello-world-in-qt-using-cmake-and-openembedded/3/" rel="noreferrer">Cmake-Bitbake-QT</a></p>