This patch updates jamvm to version 1.5.3 and adds the missing classpath package. It has been tested on several pcengines boards (x86) with freepastry.
Signed-off-by: Roberto Riggio (roberto.rig...@create-net.org) -- Index: lang/jamvm/patches/001-heap_size.patch =================================================================== --- lang/jamvm/patches/001-heap_size.patch (revision 15423) +++ lang/jamvm/patches/001-heap_size.patch (working copy) @@ -1,11 +0,0 @@ ---- jamvm-1.5.0-old/src/jam.h 2007-10-26 05:08:41.000000000 +0200 -+++ jamvm-1.5.0-new/src/jam.h 2008-02-06 10:52:01.000000000 +0100 -@@ -676,7 +676,7 @@ - - /* default maximum size of object heap */ - #ifndef DEFAULT_MAX_HEAP --#define DEFAULT_MAX_HEAP 128*MB -+#define DEFAULT_MAX_HEAP 8*MB - #endif - - /* default size of the Java stack */ Index: lang/jamvm/Makefile =================================================================== --- lang/jamvm/Makefile (revision 15423) +++ lang/jamvm/Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=jamvm -PKG_VERSION:=1.5.0 -PKG_RELEASE:=2 +PKG_VERSION:=1.5.3 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=...@sf/jamvm -PKG_MD5SUM:=a965452442cdbfc94caba57d0dd25a8f +PKG_MD5SUM:=ce886163658d748113b0570dfae12aea include $(INCLUDE_DIR)/package.mk @@ -23,7 +23,7 @@ CATEGORY:=Languages TITLE:=A compact Java Virtual Machine URL:=http://sourceforge.net/projects/jamvm - DEPENDS:=+libffi-sable +libpthread @!mips + DEPENDS:=+libffi +zlib +libpthread +classpath @!mips endef define Package/jamvm/description Index: libs/classpath/Makefile =================================================================== --- libs/classpath/Makefile (revision 0) +++ libs/classpath/Makefile (revision 0) @@ -0,0 +1,56 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=classpath +PKG_VERSION:=0.97.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/classpath/ +PKG_MD5SUM:=6a35347901ace03c31cc49751b338f31 + +include $(INCLUDE_DIR)/package.mk + +define Package/classpath + SUBMENU:=Java + SECTION:=libs + CATEGORY:=Libraries + TITLE:=GNU Classpath + URL:=http://www.gnu.org/software/classpath/ + MAINTAINER:=Roberto Riggio (roberto.rig...@create-net.org) +endef + +define Package/classpath/Description + GNU Classpath, Essential Libraries for Java, is a GNU project + to create free core class libraries for use with virtual + machines and compilers for the java programming language. +endef + +CONFIGURE_ARGS+= \ + --with-javac \ + --enable-jni \ + --disable-gtk-peer \ + --disable-gconf-peer \ + --disable-plugin \ + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" \ + CPPFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ + all install +endef + +define Package/classpath/install + $(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/ + $(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/local/classpath/share/classpath/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/local/classpath/lib/classpath/ +endef + +$(eval $(call BuildPackage,classpath)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel