2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/classpath
16 PKG_MD5SUM:=90c6571b8b0309e372faa0f9f6255ea9
21 include $(INCLUDE_DIR)/package.mk
23 define Package/classpath
27 URL:=http://www.gnu.org/software/classpath/
28 MAINTAINER:=Roberto Riggio <roberto.riggio@create-net.org>
29 DEPENDS:=+alsa-lib +libgmp +libmagic
32 define Package/classpath/Description
33 GNU Classpath, Essential Libraries for Java, is a GNU project
34 to create free core class libraries for use with virtual
35 machines and compilers for the java programming language.
38 define Package/classpath-tools
41 TITLE:=GNU Classpath tools
42 URL:=http://www.gnu.org/software/classpath/
43 MAINTAINER:=Roberto Riggio <roberto.riggio@create-net.org>
47 URL:=http://www.antlr.org/download
48 FILE:=antlr-3.4-complete.jar
49 MD5SUM:=1b91dea1c7d480b3223f7c8a9aa0e172
51 $(eval $(call Download,antlr))
59 --disable-gconf-peer \
61 --with-antlr-jar=$(DL_DIR)/antlr-3.4-complete.jar
63 define Package/classpath/install
65 $(1)/usr/lib/classpath \
66 $(1)/usr/share/classpath
68 $(PKG_INSTALL_DIR)/usr/lib/security \
69 $(PKG_INSTALL_DIR)/usr/lib/logging.properties \
71 $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/*.so* $(1)/usr/lib/classpath/
72 $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/
75 define Package/classpath-tools/install
78 $(1)/usr/share/classpath
79 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
80 $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/tools.zip $(1)/usr/share/classpath/
83 define Build/InstallDev
84 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
87 $(eval $(call BuildPackage,classpath))
88 $(eval $(call BuildPackage,classpath-tools))