summaryrefslogtreecommitdiff
path: root/recipes/antlr/antlr-native_2.7.7.bb
blob: 3a2bd122eb42143c6024383e2e0100bb6b012a0c (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_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlr
}

do_stage() {
	java_stage

	install -d ${STAGING_BINDIR}

	install -m 0755 ${WORKDIR}/runantlr ${STAGING_BINDIR}
}