2 # Copyright (C) 2006-2015 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
14 PKG_MAINTAINER
:=Dana H. Myers
<k6jq@comcast.net
>
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
18 PKG_HASH
:=76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da
25 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=A compact Java Virtual Machine
32 URL
:=http
://sourceforge.net
/projects
/jamvm
33 DEPENDS
:=+zlib
+libpthread
+librt
+classpath @
!avr32
36 define Package
/jamvm
/description
37 JamVM is a new Java Virtual Machine which conforms to the JVM
38 specification version
(blue book
). In comparison to most other VM
's (free
39 and commercial) it is extremely small.However, unlike other small VMs
40 (e.g. KVM) it is designed to support the full specification, and includes
41 support for object finalisation, Soft/Weak/Phantom References, the Java
42 Native Interface (JNI) and the Reflection API.
46 --with-java-runtime-library=gnuclasspath \
47 --with-classpath-install-dir=/usr \
48 --disable-int-inlining \
53 GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip
55 define Package/jamvm/install
56 $(INSTALL_DIR) $(1)/usr
58 $(PKG_INSTALL_DIR)/usr/bin \
59 $(PKG_INSTALL_DIR)/usr/share \
63 define Build/InstallDev
64 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
67 $(eval $(call BuildPackage,jamvm))