summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/jamvm/jamvm-native_1.3.3.bb
blob: f972c9e6e0fd5f5521db6d884cf0e32d05f9cd6a (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
# jamvm-native OE build file
# Copyright (C) 2006, Rene Wagner. All Rights Reserved
# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)

include jamvm_${PV}.bb
inherit native

DEPENDS = "classpath-native"

SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz"

prefix = "${STAGING_DIR}/${HOST_SYS}"
EXTRA_OECONF = "--with-classpath-install-dir=${STAGING_DIR}/${HOST_SYS}"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/jamvm"
S = "${WORKDIR}/jamvm-${PV}"

do_stage() {
	mkdir -p ${STAGING_BINDIR}
	install -m 0755 src/jamvm ${STAGING_BINDIR}/

	mkdir -p ${STAGING_DATADIR}/jamvm
	install -m 0644 lib/inst_classes.zip ${STAGING_DATADIR}/jamvm/classes.zip
}