summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-04 12:34:03 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-04 12:34:03 +0000
commit79c663d7f17e896e911c442e42039d107b11060d (patch)
treedfdd60d215a6d15b27d78da36555f8057749b788 /vars
parent41a2b55b2ed162c1e29e6bcba8b335373c88e792 (diff)
downloadmidipix_build-79c663d7f17e896e911c442e42039d107b11060d.tar.bz2
midipix_build-79c663d7f17e896e911c442e42039d107b11060d.tar.xz
vars/build.vars:native_packages_etc: adds {jamvm,classpath} v{2.0.0,0.99} (via Redfoxmoon.)
vars/build.vars:{jamvm,classpath}:${PKG_DISABLED}: disable unless one of {ecj,gcj,javac}(1) is present. patches/jamvm-2.0.0_pre.local.patch: via Redfoxmoon.
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars19
-rw-r--r--vars/jamvm.vars9
2 files changed, 27 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 90fc9a86..ab089b34 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1055,7 +1055,7 @@ patch patchutils perl python2 python3 ruby smallbasic tcl";
#
# Packages list native_packages_etc
NATIVE_PACKAGES_ETC_PACKAGES="
-ca_certificates cron debianutils hexcurse htop infounzip infozip john less mc mintty nano ncdu
+ca_certificates cron debianutils hexcurse htop infounzip infozip jamvm classpath john less mc mintty nano ncdu
p7zip procps_ng qpdf rw rxvt_unicode st tmux vim xeyes xorriso xterm xwd";
: ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"};
: ${PKG_CA_CERTIFICATES_IN_TREE:=1};
@@ -1080,6 +1080,23 @@ p7zip procps_ng qpdf rw rxvt_unicode st tmux vim xeyes xorriso xterm xwd";
: ${PKG_INFOUNZIP_IN_TREE:=1};
: ${PKG_INFOZIP_URLS_GIT:=infozip=https://github.com/Redfoxmoon3/infozip.git@master};
: ${PKG_INFOZIP_IN_TREE:=1};
+: ${PKG_JAMVM_SHA256SUM:=76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da};
+: ${PKG_JAMVM_VERSION:=2.0.0};
+: ${PKG_JAMVM_URL:=http://sourceforge.mirrorservice.org/j/ja/jamvm/jamvm/JamVM%20${PKG_JAMVM_VERSION}/jamvm-${PKG_JAMVM_VERSION}.tar.gz};
+: ${PKG_JAMVM_CONFIGURE_ARGS_EXTRA:="--enable-trace --with-classpath-install-dir= --enable-ffi"};
+: ${PKG_JAMVM_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/lib/libffi-3.2.1/include};
+if ! which ecj gcj javac >/dev/null 2>&1; then
+ : ${PKG_JAMVM_DISABLED:=1};
+fi;
+: ${PKG_JAMVM_IN_TREE:=1};
+: ${PKG_CLASSPATH_SHA256SUM:=f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8};
+: ${PKG_CLASSPATH_VERSION:=0.99};
+: ${PKG_CLASSPATH_URL:=ftp://ftp.gnu.org/gnu/classpath/classpath-${PKG_CLASSPATH_VERSION}.tar.gz};
+: ${PKG_CLASSPATH_CONFIGURE_ARGS_EXTRA:="--disable-plugin --disable-gmp --disable-alsa --disable-gtk-peer --disable-gconf-peer"};
+if ! which ecj gcj javac >/dev/null 2>&1; then
+ : ${PKG_CLASSPATH_DISABLED:=1};
+fi;
+: ${PKG_CLASSPATH_ENV_VARS_EXTRA:="GMP_CFLAGS=-I${PREFIX_NATIVE}/include"};
: ${PKG_JOHN_SHA256SUM:=952cf68369fb5b27f2d112ce7ca1eb16b975c85cbce8c658abb8bc5a20e1b266};
: ${PKG_JOHN_VERSION:=1.8.0};
: ${PKG_JOHN_URL:=http://www.openwall.com/john/j/john-${PKG_JOHN_VERSION}.tar.xz};
diff --git a/vars/jamvm.vars b/vars/jamvm.vars
new file mode 100644
index 00000000..abfe4fcc
--- /dev/null
+++ b/vars/jamvm.vars
@@ -0,0 +1,9 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_jamvm_configure_autotools_pre() {
+ autoreconf -iv;
+};
+
+# vim:filetype=sh