Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. CPENV:= LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
  12. PATH=${STAGING_JAVA_HOST_DIR}/usr/bin:$$PATH \
  13. CLASSPATH=${STAGING_JAVA_HOST_DIR}/usr/share/java/libgcj-$(GCJ_VER).jar
  14. $(WRKBUILD)/.configured: ${WRKDIST}/.prepared
  15. (cd $(WRKBUILD); env $(CPENV) ./configure --prefix=${STAGING_JAVA_HOST_DIR}/usr \
  16. --disable-local-sockets \
  17. --disable-alsa \
  18. --disable-gconf-peer \
  19. --disable-gtk-peer \
  20. --disable-qt-peer \
  21. --disable-dssi \
  22. --disable-plugin \
  23. --disable-examples \
  24. --disable-gjdoc \
  25. --with-jar=no \
  26. --disable-Werror)
  27. touch $@
  28. $(WRKBUILD)/.compiled: ${WRKDIST}/.configured
  29. env $(CPENV) ${MAKE} -C ${WRKBUILD}
  30. touch $@
  31. ${STAGING_JAVA_HOST_DIR}/usr/share/classpath/glibj.zip: $(WRKBUILD)/.compiled
  32. ${MAKE} -C ${WRKBUILD} install
  33. include $(TOPDIR)/mk/tools.mk