Bump jamvm to version 1.5.2 and adds the required classpath package. 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 (revisione 14426) +++ lang/jamvm/patches/001-heap_size.patch (copia locale) @@ -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 (revisione 14426) +++ lang/jamvm/Makefile (copia locale) @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=jamvm -PKG_VERSION:=1.5.0 -PKG_RELEASE:=2 +PKG_VERSION:=1.5.2 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=...@sf/jamvm -PKG_MD5SUM:=a965452442cdbfc94caba57d0dd25a8f +PKG_MD5SUM:=2a564045670b459e9aed857b5f8a3391 include $(INCLUDE_DIR)/package.mk @@ -24,7 +24,7 @@ CATEGORY:=Languages TITLE:=A compact Java Virtual Machine URL:=http://sourceforge.net/projects/jamvm - DEPENDS:=+libffi-sable +libpthread @!mips + DEPENDS:=+libffi +zlib +libpthread @!mips endef define Package/jamvm/description Index: libs/classpath/Makefile =================================================================== --- libs/classpath/Makefile (revisione 0) +++ libs/classpath/Makefile (revisione 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:=lang + CATEGORY:=Languages + 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 http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel