From 79c663d7f17e896e911c442e42039d107b11060d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 4 Jun 2018 12:34:03 +0000 Subject: 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. --- vars/build.vars | 19 ++++++++++++++++++- vars/jamvm.vars | 9 +++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 vars/jamvm.vars (limited to 'vars') 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 -- cgit v1.2.3