1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
require antlr_${PV}.bb SRC_URI += "file://runantlr" inherit native do_configure() { sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_NATIVE}/java/antlr.jar|" ${WORKDIR}/runantlr } do_stage() { java_stage install -d ${STAGING_BINDIR} install -m 0755 ${WORKDIR}/runantlr ${STAGING_BINDIR} }