Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. PKG_HOST_DEPENDS:= linux
  15. PKG_ARCH_DEPENDS:= !cris !arm
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --disable-plugin \
  19. --disable-tools \
  20. --disable-examples
  21. classpath-install:
  22. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/share/classpath
  23. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  24. $(IDIR_CLASSPATH)/usr/share/classpath
  25. $(INSTALL_DIR) $(IDIR_CLASSPATH)/usr/lib/classpath
  26. $(CP) $(WRKINST)/usr/lib/classpath/lib*so.* \
  27. $(IDIR_CLASSPATH)/usr/lib/classpath
  28. # install to staging directory
  29. $(INSTALL_DIR) $(STAGING_DIR)/usr/share/classpath
  30. $(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
  31. $(STAGING_DIR)/usr/share/classpath
  32. include ${TOPDIR}/mk/pkg-bottom.mk