Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= jamvm
  5. PKG_VERSION:= 1.5.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7654e9657691f5f09c4f481ed4686176
  8. PKG_DESCR:= A Java Virtual Machine (JVM) implementation
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libffi zlib
  11. PKG_BUILDDEP+= libffi zlib
  12. PKG_URL:= http://jamvm.sourceforge.net
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
  14. PKG_TARGET_DEPENDS:= !foxboard
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,JAMVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. BUILD_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. CONFIGURE_ARGS+= --enable-ffi
  20. do-build:
  21. ${INSTALL_DIR} ${WRKINST}/usr/bin
  22. ${INSTALL_DIR} ${WRKINST}/usr/share/jamvm
  23. ${MAKE} -C ${WRKBUILD}/src \
  24. ${TARGET_CONFIGURE_OPTS}
  25. ${CP} ${WRKBUILD}/src/jamvm ${WRKINST}/usr/bin
  26. ${MAKE} -C ${WRKBUILD}/lib
  27. ${CP} ${WRKBUILD}/lib/classes.zip ${WRKINST}/usr/share/jamvm
  28. do-install:
  29. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/bin
  30. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/share/jamvm
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/jamvm ${IDIR_JAMVM}/usr/bin
  32. ${CP} ${WRKINST}/usr/share/jamvm/classes.zip \
  33. ${IDIR_JAMVM}/usr/share/jamvm
  34. include ${TOPDIR}/mk/pkg-bottom.mk