Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libffi zlib
  8. PKG_MD5SUM:= ce886163658d748113b0570dfae12aea
  9. PKG_DESCR:= A Java Virtual Machine (JVM) implementation
  10. PKG_SECTION:= misc
  11. PKG_DEPENDS:= libffi zlib
  12. PKG_URL:= http://jamvm.sourceforge.net
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,JAMVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE= autotool gnu
  17. CONFIGURE_ARGS+= --enable-ffi
  18. do-build:
  19. ${INSTALL_DIR} ${WRKINST}/usr/bin
  20. ${INSTALL_DIR} ${WRKINST}/usr/share/jamvm
  21. ${MAKE} -C ${WRKBUILD}/src \
  22. ${TARGET_CONFIGURE_OPTS}
  23. ${CP} ${WRKBUILD}/src/jamvm ${WRKINST}/usr/bin
  24. ${MAKE} -C ${WRKBUILD}/lib
  25. ${CP} ${WRKBUILD}/lib/classes.zip ${WRKINST}/usr/share/jamvm
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/bin
  28. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/share/jamvm
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/jamvm ${IDIR_JAMVM}/usr/bin
  30. ${CP} ${WRKINST}/usr/share/jamvm/classes.zip ${IDIR_JAMVM}/usr/share/jamvm
  31. include ${TOPDIR}/mk/pkg-bottom.mk