Makefile 1.2 KB

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