summaryrefslogtreecommitdiff
path: root/package/jamvm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
commit40fcb885d64153d3196f8a6ad8ca9a679b4a61b5 (patch)
treec65da15b51c5fcf5dd5e5f2c038fa57455b03a21 /package/jamvm
parentede0b881160024db41b69198207a3e9905eea6c9 (diff)
parent50dc4372e21202d2e285bd295ec18c759b66c4d9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/jamvm')
-rw-r--r--package/jamvm/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/jamvm/Makefile b/package/jamvm/Makefile
index 6d21b6311..4c0798c26 100644
--- a/package/jamvm/Makefile
+++ b/package/jamvm/Makefile
@@ -16,10 +16,14 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
PKG_ARCH_DEPENDS:= !m68k
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= auto
+HOST_CONFIGURE_ARGS+= --with-classpath-install-dir=$(STAGING_HOST_DIR)/usr
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
@@ -31,6 +35,10 @@ ifeq ($(ARCH),arm)
CONFIGURE_ARGS+= --disable-tls
endif
+hostpost-install:
+ ln -sf ${STAGING_HOST_DIR}/usr/bin/jamvm ${STAGING_HOST_DIR}/usr/lib/jvm/bin/java
+ ln -sf ${STAGING_HOST_DIR}/usr/bin/jamvm ${STAGING_HOST_DIR}/usr/lib/jvm/jre/bin/java
+
do-build:
${INSTALL_DIR} ${WRKINST}/usr/bin
${INSTALL_DIR} ${WRKINST}/usr/share/jamvm
@@ -47,4 +55,5 @@ do-install:
${CP} ${WRKINST}/usr/share/jamvm/classes.zip \
${IDIR_JAMVM}/usr/share/jamvm
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk