Makefile 959 B

123456789101112131415161718192021222324252627282930313233343536
  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:= classpath
  5. PKG_VERSION:= 0.98
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 90c6571b8b0309e372faa0f9f6255ea9
  8. PKG_SITES:= ${MASTER_SITE_GNU:=classpath/}
  9. include ../rules.mk
  10. install: ${STAGING_JAVA_HOST_DIR}/usr/share/classpath/glibj.zip
  11. $(WRKBUILD)/.configured: ${WRKDIST}/.prepared
  12. (cd $(WRKBUILD); ./configure --prefix=/usr \
  13. --disable-local-sockets \
  14. --disable-alsa \
  15. --disable-gconf-peer \
  16. --disable-gtk-peer \
  17. --disable-qt-peer \
  18. --disable-dssi \
  19. --disable-plugin \
  20. --disable-examples \
  21. --disable-Werror)
  22. touch $@
  23. $(WRKBUILD)/.compiled: ${WRKDIST}/.configured
  24. ${MAKE} -C ${WRKBUILD}
  25. touch $@
  26. ${STAGING_JAVA_HOST_DIR}/usr/share/classpath/glibj.zip: $(WRKBUILD)/.compiled
  27. ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_JAVA_HOST_DIR) install
  28. include $(TOPDIR)/mk/tools.mk