1
0

Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_DESCR:= GNU Classpath
  9. PKG_SECTION:= lang
  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 $(TOPDIR)/mk/host.mk
  18. include $(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_STYLE:= auto
  22. HOST_CONFIGURE_ARGS+= --disable-plugin \
  23. --disable-tools \
  24. --disable-examples \
  25. --disable-gtk-peer \
  26. --disable-gconf-peer \
  27. --disable-alsa \
  28. --disable-Werror \
  29. --without-x
  30. CONFIGURE_ARGS+= --disable-plugin \
  31. --disable-tools \
  32. --disable-examples
  33. classpath-install:
  34. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/share/classpath
  35. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  36. $(IDIR_CLASSPATH)/usr/share/classpath
  37. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/lib/classpath
  38. $(CP) $(WRKINST)/usr/lib/classpath/lib*so.* \
  39. $(IDIR_CLASSPATH)/usr/lib/classpath
  40. # install to staging directory
  41. $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/share/classpath
  42. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  43. $(STAGING_TARGET_DIR)/usr/share/classpath
  44. include ${TOPDIR}/mk/host-bottom.mk
  45. include ${TOPDIR}/mk/pkg-bottom.mk