anchor.diff:  HOMEPAGE = "http://www.lua.org/"
   
   DEPENDS += "readline"
  -PR = "r8"
  +PR = "r9"
   SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
              file://bitwise_operators.patch \
              file://lua5.1.pc \
  
positive.code: }
  
  do_compile () {
  	cp ${WORKDIR}/lua5.1.pc ${S}/
  	oe_runmake linux
  }
  
  
negative.code: 		'INSTALL_MAN=${D}${mandir}/man1' \
  		'INSTALL_SHARE=${D}${datadir}/lua' \
  		install
  	install -d ${D}${libdir}/pkgconfig
  	install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc
  }
  NATIVE_INSTALL_WORKS = 1
  BBCLASSEXTEND = "native"
  