anchor.diff:  
   S = "${WORKDIR}/git"
   
  -inherit distutils-base autotools pkgconfig
  +inherit distutils-base autotools pkgconfig lib_package
   
   EXTRA_OECONF = " \
   		--disable-debug \
  
positive.code: export BUILD_SYS
  export HOST_SYS
  
  python populate_packages_prepend () {
  	cv_libdir = bb.data.expand('${libdir}', d)
  	cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
  	do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
  	do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
  	do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
  	do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True)
  }
  
  FILES_${PN} = ""
  FILES_${PN}-doc += "${datadir}/opencv/"
  FILES_${PN}-dbg += "${libdir}/.debug"
  FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
  
  do_stage() {
  	autotools_stage_all
  }
  
negative.code: 
  ARM_INSTRUCTION_SET = "arm"
  
  PR = "r6"
  
  DEPENDS = "libtool jpeg zlib libpng tiff glib-2.0 gtk+ libv4l ffmpeg libdc1394"
  
  