From 5f4402c7a374956e6e8a1e2dee0228916ccd2d7b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 11 May 2017 10:15:44 +0200 Subject: gnu: Add jamvm-bootstrap. * gnu/packages/java.scm (jamvm-bootstrap): New variable. --- gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b6d74c2bce..0faf2bd296 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -462,6 +462,35 @@ language.") ;; GPLv2 or later, with special linking exception. (license license:gpl2+))) +(define jamvm-bootstrap + (package + (name "jamvm") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/jamvm/jamvm/" + "JamVM%20" version "/jamvm-" + version ".tar.gz")) + (sha256 + (base32 + "1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-classpath-install-dir=" + (assoc-ref %build-inputs "classpath"))))) + (inputs + `(("classpath" ,classpath-on-sablevm) + ("ecj-javac-wrapper" ,ecj-javac-wrapper) + ("zlib" ,zlib))) + (home-page "http://jamvm.sourceforge.net/") + (synopsis "Small Java Virtual Machine") + (description "JamVM is a Java Virtual Machine conforming to the JVM +specification edition 2 (blue book). It is extremely small. However, unlike +other small VMs it supports the full spec, including object finalisation and +JNI.") + (license license:gpl2+))) + (define-public java-swt (package (name "java-swt") -- cgit v1.2.3