diff options
author | wbx <wbx@openadk.org> | 2011-04-09 21:54:12 +0200 |
---|---|---|
committer | wbx <wbx@openadk.org> | 2011-04-09 21:54:12 +0200 |
commit | 9954d8b64793e7b20a04419a06408617e739c3cf (patch) | |
tree | bcac9aadcbebbc3ca651ef364864e7bf75ea2568 /jtools/jikes/Makefile | |
parent | 34fc06736330cc993fd1c936ed9205cdc73aa0fd (diff) | |
parent | 5af6b940e2749b6cdc506a9d85df94f73a1c7487 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/jikes/Makefile')
-rw-r--r-- | jtools/jikes/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/jtools/jikes/Makefile b/jtools/jikes/Makefile new file mode 100644 index 000000000..be31884ff --- /dev/null +++ b/jtools/jikes/Makefile @@ -0,0 +1,31 @@ +# 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:= 14d4bdfac236e347d806c6743dba48c6 +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jikes/Jikes/2.22/} + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +include ../rules.mk + +install: ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes + +$(WRKBUILD)/.configured: ${WRKDIST}/.prepared + (cd $(WRKBUILD); ./configure --prefix=/usr); + touch $@ + +$(WRKBUILD)/.compiled: ${WRKDIST}/.configured + ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE) + touch $@ + +${STAGING_JAVA_HOST_DIR}/usr/bin/jikes: $(WRKBUILD)/.compiled + ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_JAVA_HOST_DIR) install $(MAKE_TRACE) + $(CP) ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/bin/javac + $(CP) ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/jre/bin/javac + +include $(TOPDIR)/mk/tools.mk |