Patch looks fine, but why removing GPL Header? Greeting Jens.
Roberto Riggio wrote: > Signed-off-by: Roberto Riggio <[EMAIL PROTECTED]> > > -- > Index: lang/classpath/Makefile > =================================================================== > --- lang/classpath/Makefile (revisione 0) > +++ lang/classpath/Makefile (revisione 0) > @@ -0,0 +1,48 @@ > +include $(TOPDIR)/rules.mk > + > +PKG_NAME:=classpath > +PKG_VERSION:=0.97.1 > +PKG_RELEASE:=1 > + > +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz > +PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/classpath/ > +PKG_MD5SUM:=a2ffb40f13fc76c2dda8f8311b30add9 > + > +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 ([EMAIL PROTECTED]) > +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/lib/classpath > + $(INSTALL_DIR) $(1)/usr/share/classpath > + $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath > + $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip > $(1)/usr/share/classpath > +endef > + > +$(eval $(call BuildPackage,classpath)) > Index: lang/jamvm/patches/001-heap_size.patch > =================================================================== > --- lang/jamvm/patches/001-heap_size.patch (revisione 0) > +++ lang/jamvm/patches/001-heap_size.patch (revisione 0) > @@ -0,0 +1,12 @@ > +--- jamvm-1.5.1-old/src/jam.h 2008-02-22 02:57:22.000000000 +0100 > ++++ jamvm-1.5.1-new/src/jam.h 2008-03-12 12:21:31.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 64*MB > + #endif > + > + /* default size of the Java stack */ > + > Index: lang/jamvm/Makefile > =================================================================== > --- lang/jamvm/Makefile (revisione 10601) > +++ lang/jamvm/Makefile (copia locale) > @@ -1,15 +1,7 @@ > -# > -# 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:=jamvm > -PKG_VERSION:=1.5.0 > +PKG_VERSION:=1.5.1 > PKG_RELEASE:=1 > > PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz > @@ -24,7 +16,8 @@ > CATEGORY:=Languages > TITLE:=A compact Java Virtual Machine > URL:=http://sourceforge.net/projects/jamvm > - DEPENDS:=+libffi-sable @!mips @!mipsel > + MAINTAINER:=Roberto Riggio ([EMAIL PROTECTED]) > + DEPENDS:=+libffi-sable +libpthread +zlib +classpath @!mips @!mipsel > endef > > define Package/jamvm/description > @@ -38,6 +31,7 @@ > > CONFIGURE_ARGS+= \ > --enable-ffi \ > + --with-classpath-install-dir=/usr \ > --disable-int-threading \ > > define Build/Compile > _______________________________________________ > openwrt-devel mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
