summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2018-06-09 14:09:29 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2018-06-09 14:09:29 -0400
commit30366656563f911faa8fd3c90ab9fbf284e7b541 (patch)
tree61ed1e19abf0a310129d073b8f7f85866e1e665c
parente00e3d10740009f2fbcc74ccfda5394cea507508 (diff)
downloadcontrib-30366656563f911faa8fd3c90ab9fbf284e7b541.tar.gz
contrib-30366656563f911faa8fd3c90ab9fbf284e7b541.tar.xz
jamvm: update to 2.0.0 release
-rw-r--r--jamvm/.footprint4
-rw-r--r--jamvm/.md5sum2
-rw-r--r--jamvm/.signature8
-rw-r--r--jamvm/Pkgfile20
4 files changed, 24 insertions, 10 deletions
diff --git a/jamvm/.footprint b/jamvm/.footprint
index deb02575d..50a6b1115 100644
--- a/jamvm/.footprint
+++ b/jamvm/.footprint
@@ -2,13 +2,13 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/jamvm
drwxr-xr-x root/root usr/include/
--rw-r--r-- root/root usr/include/jni.h
+drwxr-xr-x root/root usr/include/jamvm/
+-rw-r--r-- root/root usr/include/jamvm/jni.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libjvm.la
lrwxrwxrwx root/root usr/lib/libjvm.so -> libjvm.so.0.0.0
lrwxrwxrwx root/root usr/lib/libjvm.so.0 -> libjvm.so.0.0.0
-rwxr-xr-x root/root usr/lib/libjvm.so.0.0.0
-lrwxrwxrwx root/root usr/lib/rt.jar -> /usr/local/classpath/share/classpath/glibj.zip
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/jamvm/
-rw-r--r-- root/root usr/share/jamvm/classes.zip
diff --git a/jamvm/.md5sum b/jamvm/.md5sum
index 137689a2f..1c76332d7 100644
--- a/jamvm/.md5sum
+++ b/jamvm/.md5sum
@@ -1 +1 @@
-7654e9657691f5f09c4f481ed4686176 jamvm-1.5.4.tar.gz
+a6e3321ef4b3cfb4afc20bd75452e11e jamvm-2.0.0.tar.gz
diff --git a/jamvm/.signature b/jamvm/.signature
index 30199b3e4..cc74b065d 100644
--- a/jamvm/.signature
+++ b/jamvm/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36D7JJ1GfiXt3X+HSpRBhheOakn+XgYYw9woOl7JZa+Q0vI6evwagBaqlDMDI8t5NiddoAsBiLqh17KZxxNYeAM=
-SHA256 (Pkgfile) = a7e87b805611755a2b1442aa43fc00c1d237551d44f61903ebcbffc0594f55a1
-SHA256 (.footprint) = 650be26b33df7ffbc2f9351cbd8ac6c5d9535911bea08e8e73f22b575f4d2cf3
-SHA256 (jamvm-1.5.4.tar.gz) = 7865693698bc4322cabe1014a4b7ebdec1bc1daf45f1a4457b6e908a4446b124
+RWSagIOpLGJF3+jACpJNcPPME6z6KUeMzAzR0YAPzdQr8eKT0YvnhwRrhc7gNJ9X2LxHWsjjHm8RW8CLJJ6X5zKN1WBsrSn9rwU=
+SHA256 (Pkgfile) = a0df8804c8d1c9e67bd139df91a875066174eea9f9aa2ea96de944eb4abde5c4
+SHA256 (.footprint) = ce28da158908efd7584e7795b24c5168632d55c664a878584b17eaaf971d0cc6
+SHA256 (jamvm-2.0.0.tar.gz) = 76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da
diff --git a/jamvm/Pkgfile b/jamvm/Pkgfile
index 3f3fdbc5a..705e47e48 100644
--- a/jamvm/Pkgfile
+++ b/jamvm/Pkgfile
@@ -1,16 +1,30 @@
# Description: Extremely small and JVM spec 2 (blue book) conformant Java Virtual Machine
# URL: http://jamvm.sourceforge.net/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
+# Depends on: libffi
name=jamvm
-version=1.5.4
+version=2.0.0
release=1
source=(http://download.sourceforge.net/$name/$name/JamVM%20$version/$name-$version.tar.gz)
build() {
- find $name-$version ! -type l -a -perm -go+w | xargs chmod go-w
+ find $name-$version ! -type l -a \( -perm /go+w -o ! -perm /u+rw \) \
+ -exec chmod go-w,u+rw {} \;
+
cd $name-$version
- ./configure --prefix=/usr
+
+ ./configure \
+ --prefix=/usr \
+ --includedir=/usr/include/$name \
+ --enable-libffi \
+ --with-classpath-install-dir=/usr
+
make
make DESTDIR=$PKG install
+
+ rm $PKG/usr/lib/rt.jar
+ mv $PKG/usr/lib/libjvm.so{,.0.0.0}
+ ln -s libjvm.so.0.0.0 $PKG/usr/lib/libjvm.so
+ ln -s libjvm.so.0.0.0 $PKG/usr/lib/libjvm.so.0
}

Generated by cgit