summaryrefslogtreecommitdiff
path: root/recipes/jlex/jlex-native_1.2.6.bb
blob: 6f8194b1455e91640a10e39202eb199fddbbd552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require jlex_${PV}.bb

inherit java-native

DEPENDS += "virtual/java-native"
RDEPENDS = ""

do_configure() {
  sed -i \
    -e "s|OE_STAGING_BINDIR|${STAGING_BINDIR_NATIVE}|" \
    -e "s|OE_STAGING_DATADIR_JAVA|${STAGING_DATADIR_JAVA_NATIVE}|" \
    -e "s|OE_JLEX_JAR|${BP}.jar|" \
    ${WORKDIR}/jlex
}

do_install_append() {
	:
}

do_stage_append() {
	install -d ${STAGING_BINDIR}
	install -m 0755 jlex ${STAGING_BINDIR}
}