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
26 include $(INCLUDE_DIR)/package.mk
32 TITLE:=A compact Java Virtual Machine
33 URL:=http://sourceforge.net/projects/jamvm
34 DEPENDS:=+zlib +libpthread +librt +classpath @!avr32
37 define Package/jamvm/description
38 JamVM is a new Java Virtual Machine which conforms to the JVM
39 specification version (blue book). In comparison to most other VM's (free
40 and commercial) it is extremely small.However, unlike other small VMs
41 (e.g. KVM) it is designed to support the full specification, and includes
42 support for object finalisation, Soft/Weak/Phantom References, the Java
43 Native Interface (JNI) and the Reflection API.
47 --with-java-runtime-library=gnuclasspath \
48 --with-classpath-install-dir=/usr \
49 --disable-int-inlining \
54 GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip
56 define Package/jamvm/install
57 $(INSTALL_DIR) $(1)/usr
59 $(PKG_INSTALL_DIR)/usr/bin \
60 $(PKG_INSTALL_DIR)/usr/share \
64 define Build/InstallDev
65 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
68 $(eval $(call BuildPackage,jamvm))