Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= jamvm
  7. PKG_VERSION:= 1.5.3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= ce886163658d748113b0570dfae12aea
  10. PKG_DESCR:= A Java Virtual Machine (JVM) implementation
  11. PKG_SECTION:= misc
  12. PKG_DEPENDS:= libffi zlib
  13. PKG_URL:= http://jamvm.sourceforge.net
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
  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. CONFIGURE_STYLE= gnu
  18. CONFIGURE_ARGS+= --enable-ffi
  19. do-build:
  20. ${INSTALL_DIR} ${WRKINST}/usr/bin
  21. ${INSTALL_DIR} ${WRKINST}/usr/share/jamvm
  22. ${MAKE} -C ${WRKBUILD}/src \
  23. ${TARGET_CONFIGURE_OPTS}
  24. ${CP} ${WRKBUILD}/src/jamvm ${WRKINST}/usr/bin
  25. ${MAKE} -C ${WRKBUILD}/lib
  26. ${CP} ${WRKBUILD}/lib/classes.zip ${WRKINST}/usr/share/jamvm
  27. do-install:
  28. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/bin
  29. ${INSTALL_DIR} ${IDIR_JAMVM}/usr/share/jamvm
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/jamvm ${IDIR_JAMVM}/usr/bin
  31. ${CP} ${WRKINST}/usr/share/jamvm/classes.zip ${IDIR_JAMVM}/usr/share/jamvm
  32. include ${TOPDIR}/mk/pkg-bottom.mk