summaryrefslogtreecommitdiff
path: root/recipes/cup/cup-native_0.10k.bb
blob: 2eb325fe1a3823621c302ceabf7fdea992478d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require cup_${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_CUP_JAR|${BP}.jar|" \
		${WORKDIR}/cup
}

do_install_append() {
	:
}

do_stage_append() {
  install -d ${STAGING_BINDIR}
  install -m 0755 ${WORKDIR}/cup ${STAGING_BINDIR}
}