summaryrefslogtreecommitdiff
path: root/recipes/antlr/antlr-native_2.7.7.bb
blob: 871e620b93577dfcbcd96050ef8df72e7da8978d (plain)
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 java-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}
}