Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.98
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 90c6571b8b0309e372faa0f9f6255ea9
  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. PKG_URL:= http://www.gnu.org/software/classpath/home.html
  13. PKG_SITES:= ${MASTER_SITE_GNU:=classpath/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_HOST_DEPENDS:= linux
  16. PKG_ARCH_DEPENDS:= !arm
  17. include $(ADK_TOPDIR)/mk/host.mk
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. HOST_CONFIGURE_ARGS+= --disable-plugin \
  22. --disable-tools \
  23. --disable-examples \
  24. --disable-gtk-peer \
  25. --disable-gconf-peer \
  26. --disable-alsa \
  27. --disable-Werror \
  28. --without-x
  29. CONFIGURE_ARGS+= --disable-plugin \
  30. --disable-tools \
  31. --disable-examples
  32. classpath-install:
  33. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/share/classpath
  34. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  35. $(IDIR_CLASSPATH)/usr/share/classpath
  36. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/lib/classpath
  37. $(CP) $(WRKINST)/usr/lib/classpath/lib*so.* \
  38. $(IDIR_CLASSPATH)/usr/lib/classpath
  39. # install to staging directory
  40. $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/share/classpath
  41. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  42. $(STAGING_TARGET_DIR)/usr/share/classpath
  43. include ${ADK_TOPDIR}/mk/host-bottom.mk
  44. include ${ADK_TOPDIR}/mk/pkg-bottom.mk