2006-10-30 13:51:50 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-08-03 11:27:59 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=jamvm
|
2012-01-08 15:39:29 +00:00
|
|
|
PKG_VERSION:=1.6.0-git
|
|
|
|
PKG_RELEASE:=1
|
2006-08-03 11:27:59 +00:00
|
|
|
|
2012-01-08 15:39:29 +00:00
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=git://git.berlios.de/jamvm
|
|
|
|
PKG_SOURCE_VERSION:=4617da717ecb05654ea5bb9572338061106a414d
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
2013-01-09 21:47:45 +00:00
|
|
|
PKG_MIRROR_MD5SUM:=66a728a3cb8dad0e3773035c4049eb5f
|
2006-08-03 11:27:59 +00:00
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2012-01-08 15:39:29 +00:00
|
|
|
PKG_INSTALL:=1
|
2010-02-19 00:14:01 +00:00
|
|
|
|
2006-08-03 11:27:59 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/jamvm
|
2007-09-23 18:16:45 +00:00
|
|
|
SUBMENU:=Java
|
2006-08-03 11:27:59 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=A compact Java Virtual Machine
|
|
|
|
URL:=http://sourceforge.net/projects/jamvm
|
2012-01-08 23:39:12 +00:00
|
|
|
DEPENDS:=+zlib +libpthread +librt +classpath @!avr32
|
2006-08-03 11:27:59 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-23 18:16:45 +00:00
|
|
|
define Package/jamvm/description
|
|
|
|
JamVM is a new Java Virtual Machine which conforms to the JVM
|
|
|
|
specification version (blue book). In comparison to most other VM's (free
|
|
|
|
and commercial) it is extremely small.However, unlike other small VMs
|
|
|
|
(e.g. KVM) it is designed to support the full specification, and includes
|
|
|
|
support for object finalisation, Soft/Weak/Phantom References, the Java
|
|
|
|
Native Interface (JNI) and the Reflection API.
|
2006-08-03 11:27:59 +00:00
|
|
|
endef
|
|
|
|
|
2012-01-08 15:39:29 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--with-java-runtime-library=gnuclasspath \
|
|
|
|
--with-classpath-install-dir=/usr \
|
2012-01-08 23:43:39 +00:00
|
|
|
--disable-int-inlining \
|
|
|
|
--disable-shared \
|
|
|
|
--without-pic
|
2007-09-23 18:16:45 +00:00
|
|
|
|
2012-01-08 15:39:29 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
GLIBJ_ZIP=$(STAGING_DIR)/usr/share/classpath/glibj.zip
|
|
|
|
|
|
|
|
define Package/jamvm/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/bin \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share \
|
|
|
|
$(1)/usr/
|
2006-08-03 11:27:59 +00:00
|
|
|
endef
|
|
|
|
|
2012-01-08 15:39:29 +00:00
|
|
|
define Build/InstallDev
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
|
|
|
endef
|
2006-08-03 11:27:59 +00:00
|
|
|
|
|
|
|
$(eval $(call BuildPackage,jamvm))
|
2007-09-23 18:16:45 +00:00
|
|
|
|