summaryrefslogtreecommitdiff
path: root/package/jikes/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:12:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:12:50 +0100
commit2548d641ca7adfe3dcf31d09bb2f9b047b186a0f (patch)
tree8ed2357d972dbf5b69645916c23856dfad713405 /package/jikes/Makefile
parent053ce49e8a9588bbd729e25ab6a33f8f5190350d (diff)
remove jtools/java host dir. use host stuff instead.
fix arm building.
Diffstat (limited to 'package/jikes/Makefile')
-rw-r--r--package/jikes/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/jikes/Makefile b/package/jikes/Makefile
new file mode 100644
index 000000000..6f7649a49
--- /dev/null
+++ b/package/jikes/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= jikes
+PKG_VERSION:= 1.22
+PKG_RELEASE:= 1
+PKG_MD5SUM:= cda958c7fef6b43b803e1d1ef9afcb85
+PKG_DESCR:= jikes java compiler
+PKG_SECTION:= lang
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jikes/Jikes/1.22/}
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+PKG_ARCH_DEPENDS:= native
+
+include $(TOPDIR)/mk/host.mk
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,JIKES,jikes,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= auto
+
+hostpost-install:
+ $(INSTALL_DIR) ${STAGING_HOST_DIR}/usr/lib/jvm/bin/
+ $(INSTALL_DIR) ${STAGING_HOST_DIR}/usr/lib/jvm/jre/bin/
+ $(CP) ${STAGING_HOST_DIR}/usr/bin/jikes ${STAGING_HOST_DIR}/usr/lib/jvm/bin/javac
+ $(CP) ${STAGING_HOST_DIR}/usr/bin/jikes ${STAGING_HOST_DIR}/usr/lib/jvm/jre/bin/javac
+
+
+include ${TOPDIR}/mk/host-bottom.mk
+include ${TOPDIR}/mk/pkg-bottom.mk