summaryrefslogtreecommitdiff
path: root/packages/antlr/antlr-native_2.7.7.bb
blob: bd95ce7a7cabad185170a140f344ab6329a3ed74 (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 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}
}