move jamvm & sablevm in 'Java' submenu, move descriptions in separate defs, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8994 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b02978c35c
commit
98cdfce045
@ -15,35 +15,31 @@ PKG_RELEASE:=1
|
|||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/jamvm
|
PKG_SOURCE_URL:=@SF/jamvm
|
||||||
PKG_MD5SUM:=1b7bc9928c534412e062685a4191651d
|
PKG_MD5SUM:=1b7bc9928c534412e062685a4191651d
|
||||||
PKG_CAT:=zcat
|
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/jamvm
|
define Package/jamvm
|
||||||
|
SUBMENU:=Java
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
DEPENDS:=+libffi-sable @!mips
|
|
||||||
TITLE:=A compact Java Virtual Machine
|
TITLE:=A compact Java Virtual Machine
|
||||||
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.
|
|
||||||
URL:=http://sourceforge.net/projects/jamvm
|
URL:=http://sourceforge.net/projects/jamvm
|
||||||
|
DEPENDS:=+libffi-sable @!mips
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Package/jamvm/description
|
||||||
$(call Build/Configure/Default, \
|
JamVM is a new Java Virtual Machine which conforms to the JVM
|
||||||
--enable-ffi \
|
specification version (blue book). In comparison to most other VM's (free
|
||||||
--disable-int-threading \
|
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.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
|
--enable-ffi \
|
||||||
|
--disable-int-threading \
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) all
|
$(MAKE) -C $(PKG_BUILD_DIR) all
|
||||||
endef
|
endef
|
||||||
@ -58,3 +54,4 @@ ifneq ($(ARCH),mips)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call BuildPackage,jamvm))
|
$(eval $(call BuildPackage,jamvm))
|
||||||
|
|
||||||
|
@ -15,35 +15,48 @@ PKG_RELEASE:=1
|
|||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/sablevm
|
PKG_SOURCE_URL:=@SF/sablevm
|
||||||
PKG_MD5SUM:=18a7c1a92b0748a206f9767a76a6b3bb
|
PKG_MD5SUM:=18a7c1a92b0748a206f9767a76a6b3bb
|
||||||
PKG_CAT:=zcat
|
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
||||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/sablevm
|
define Package/sablevm/Default
|
||||||
|
SUBMENU:=Java
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
DEPENDS:=+libltdl +libpopt +libpthread +zlib
|
|
||||||
TITLE:=A Java Virtual Machine (JVM) implementation
|
TITLE:=A Java Virtual Machine (JVM) implementation
|
||||||
DESCRIPTION:=\
|
|
||||||
SableVM is a robust, extremely portable, efficient, and specifications-\\\
|
|
||||||
-compliant Java virtual machine that aims to be easy to maintain and to \\\
|
|
||||||
extend. It features a state-of-the-art and efficient interpreter engine.\\\
|
|
||||||
Its source code is very accessible and easy to understand. It also has \\\
|
|
||||||
many robustness features that have been the object of careful design.
|
|
||||||
URL:=http://sablevm.org/
|
URL:=http://sablevm.org/
|
||||||
|
DEPENDS:=+libltdl +libpopt +libpthread +zlib
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sablevm/Default/description
|
||||||
|
SableVM is a robust, extremely portable, efficient, and specifications-
|
||||||
|
-compliant Java virtual machine that aims to be easy to maintain and to
|
||||||
|
extend. It features a state-of-the-art and efficient interpreter engine.
|
||||||
|
Its source code is very accessible and easy to understand. It also has
|
||||||
|
many robustness features that have been the object of careful design.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sablevm
|
||||||
|
$(call Package/sablevm/Default)
|
||||||
|
TITLE+= (full)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sablevm/description
|
||||||
|
$(call Package/sablevm/Default/description)
|
||||||
|
.
|
||||||
|
This package contains the full set of Java classes.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/sablevm-mini
|
define Package/sablevm-mini
|
||||||
$(call Package/sablevm)
|
$(call Package/sablevm/Default)
|
||||||
TITLE+= (minimal)
|
TITLE+= (minimal)
|
||||||
DESCRIPTION+=\\\
|
|
||||||
This package contains only the minimal set of Java classes needed to \\\
|
|
||||||
run a simple "HelloWorld" program (included in this package).
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/sablevm-mini/description
|
||||||
|
$(call Package/sablevm/Default/description)
|
||||||
|
.
|
||||||
|
This package contains only the minimal set of Java classes needed to
|
||||||
|
run a simple "HelloWorld" program (included in this package).
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
@ -122,3 +135,4 @@ $(foreach command, jikes fastjar, \
|
|||||||
$(PKG_NAME) requires $(command). \
|
$(PKG_NAME) requires $(command). \
|
||||||
)) \
|
)) \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user