require bison_${PV}.bb SECTION = "devel" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/bison-${PV}" S = "${WORKDIR}/bison-${PV}" FILE_PR = "r2" inherit native autotools do_stage() { rm -f ${STAGING_BINDIR}/yacc rm -f ${STAGING_BINDIR}/bison install -m 0755 src/bison ${STAGING_BINDIR}/ cat >${STAGING_BINDIR}/yacc <