2 # Copyright (C) 2006-2012 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
11 PKG_VERSION:=1.6.0-git
15 PKG_SOURCE_URL:=git://git.berlios.de/jamvm
16 PKG_SOURCE_VERSION:=4617da717ecb05654ea5bb9572338061106a414d
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19 PKG_MIRROR_MD5SUM:=66a728a3cb8dad0e3773035c4049eb5f
24 include $(INCLUDE_DIR)/package.mk
30 TITLE:=A compact Java Virtual Machine
31 URL:=http://sourceforge.net/projects/jamvm
32 DEPENDS:=+zlib +libpthread +librt +classpath @!avr32
35 define Package/jamvm/description
36 JamVM is a new Java Virtual Machine which conforms to the JVM
37 specification version (blue book). In comparison to most other VM's (free
38 and commercial) it is extremely small.However, unlike other small VMs
39 (e.g. KVM) it is designed to support the full specification, and includes
40 support for object finalisation, Soft/Weak/Phantom References, the Java
41 Native Interface (JNI) and the Reflection API.
45 --with-java-runtime-library=gnuclasspath \
46 --with-classpath-install-dir=/usr \
47 --disable-int-inlining \
52 GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip
54 define Package/jamvm/install
55 $(INSTALL_DIR) $(1)/usr
57 $(PKG_INSTALL_DIR)/usr/bin \
58 $(PKG_INSTALL_DIR)/usr/share \
62 define Build/InstallDev
63 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
66 $(eval $(call BuildPackage,jamvm))