Makefile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= classpath
  5. PKG_VERSION:= 0.99
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8
  8. PKG_DESCR:= java classpath
  9. PKG_SECTION:= dev/tools
  10. PKG_BUILDDEP:= gtk+ gdk-pixbuf orbit2 gconf
  11. PKG_DEPENDS:= libgtk gdk-pixbuf orbit2 gconf
  12. HOST_BUILDDEP:= gcj-host ecj-host
  13. PKG_URL:= http://www.gnu.org/software/classpath/home.html
  14. PKG_SITES:= ftp.gnu.org/classpath/ \
  15. http://www.antlr3.org/download/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz antlr-3.5.2-complete.jar
  17. PKG_HOST_DEPENDS:= linux
  18. include $(ADK_TOPDIR)/mk/host.mk
  19. include $(ADK_TOPDIR)/mk/package.mk
  20. $(eval $(call HOST_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE}))
  21. $(eval $(call PKG_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. HOST_CONFIGURE_ARGS+= --disable-plugin \
  23. --enable-tools \
  24. --with-antlr-jar=${WRKBUILD}/antlr-3.5.2-complete.jar \
  25. --disable-examples \
  26. --disable-gtk-peer \
  27. --disable-gconf-peer \
  28. --disable-alsa \
  29. --disable-Werror \
  30. --without-x
  31. CONFIGURE_ARGS+= --disable-plugin \
  32. --disable-tools \
  33. --disable-examples
  34. classpath-install:
  35. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/share/classpath
  36. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  37. $(IDIR_CLASSPATH)/usr/share/classpath
  38. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/lib/classpath
  39. $(CP) $(WRKINST)/usr/lib/classpath/lib*so.* \
  40. $(IDIR_CLASSPATH)/usr/lib/classpath
  41. # install to staging directory
  42. $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/share/classpath
  43. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  44. $(STAGING_TARGET_DIR)/usr/share/classpath
  45. include ${ADK_TOPDIR}/mk/host-bottom.mk
  46. include ${ADK_TOPDIR}/mk/pkg-bottom.mk