2 # Copyright (C) 2006-2009 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:=ftp://ftp.gnu.org/gnu/classpath/
16 PKG_MD5SUM:=6a35347901ace03c31cc49751b338f31
18 include $(INCLUDE_DIR)/package.mk
20 define Package/classpath
24 URL:=http://www.gnu.org/software/classpath/
25 MAINTAINER:=Roberto Riggio (roberto.riggio@create-net.org)
28 define Package/classpath/Description
29 GNU Classpath, Essential Libraries for Java, is a GNU project
30 to create free core class libraries for use with virtual
31 machines and compilers for the java programming language.
38 --disable-gconf-peer \
42 $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" \
43 CPPFLAGS="$(TARGET_CPPFLAGS)" \
47 define Package/classpath/install
48 $(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/
49 $(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/
50 $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/local/classpath/share/classpath/
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/local/classpath/lib/classpath/
54 $(eval $(call BuildPackage,classpath))