summaryrefslogtreecommitdiff
path: root/recipes/cup/cup-native_0.10k.bb
blob: 96cb57092234cfa1b94310e7ee0b941d89b73ce2 (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
25
26
27
require cup_${PV}.bb

inherit java-native

DEPENDS += "virtual/java-native"
RDEPENDS_${PN} = ""

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}
}


SRC_URI[md5sum] = "8b11edfec13c590ea443d0f0ae0da479"
SRC_URI[sha256sum] = "7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd"