Changeset 29692


Ignore:
Timestamp:
2012-01-08T16:39:29+01:00 (6 years ago)
Author:
nbd
Message:

jamvm: update to 1.6.0 git, integrate properly with classpath, fixes mips support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/jamvm/Makefile

    r20782 r29692  
    99 
    1010PKG_NAME:=jamvm 
    11 PKG_VERSION:=1.5.4 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=1.6.0-git 
     12PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=@SF/jamvm 
    16 PKG_MD5SUM:=7654e9657691f5f09c4f481ed4686176 
     14PKG_SOURCE_PROTO:=git 
     15PKG_SOURCE_URL:=git://git.berlios.de/jamvm 
     16PKG_SOURCE_VERSION:=4617da717ecb05654ea5bb9572338061106a414d 
     17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
     18PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
     19PKG_MIRROR_MD5SUM:=fd546a48f9e248d21d879664240892a1 
    1720 
    1821PKG_FIXUP:=libtool 
     22PKG_INSTALL:=1 
    1923 
    2024include $(INCLUDE_DIR)/package.mk 
     
    2630  TITLE:=A compact Java Virtual Machine 
    2731  URL:=http://sourceforge.net/projects/jamvm 
    28   DEPENDS:=+libffi +zlib +libpthread @!avr32 @!mips 
     32  DEPENDS:=+libffi +zlib +libpthread +classpath @!avr32 
    2933endef 
    3034 
     
    3842endef 
    3943 
    40 CONFIGURE_ARGS+= \ 
     44CONFIGURE_ARGS += \ 
     45        --enable-ffi \ 
     46        --with-java-runtime-library=gnuclasspath \ 
    4147        --with-classpath-install-dir=/usr \ 
    42         --disable-tls \ 
    43         --enable-ffi \ 
    44         --disable-int-threading \ 
     48        --disable-int-threading 
    4549 
    46 define Build/Compile     
    47         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    48                 CPPFLAGS="$(TARGET_CPPFLAGS)" \ 
    49                 all 
     50MAKE_FLAGS += \ 
     51        GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip 
     52 
     53define Package/jamvm/install 
     54        $(INSTALL_DIR) $(1)/usr 
     55        $(CP) \ 
     56                $(PKG_INSTALL_DIR)/usr/bin \ 
     57                $(PKG_INSTALL_DIR)/usr/lib \ 
     58                $(PKG_INSTALL_DIR)/usr/share \ 
     59                $(1)/usr/ 
    5060endef 
    5161 
    52 ifneq ($(ARCH),mips) 
    53   define Package/jamvm/install   
    54         $(INSTALL_DIR) $(1)/usr/bin 
    55         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/jamvm $(1)/usr/bin/ 
    56         $(INSTALL_DIR) $(1)/usr/share/jamvm 
    57         $(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/classes.zip $(1)/usr/share/jamvm/ 
    58   endef 
    59 endif 
     62define Build/InstallDev 
     63        $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 
     64endef 
    6065 
    6166$(eval $(call BuildPackage,jamvm)) 
Note: See TracChangeset for help on using the changeset viewer.