1
0
forked from ports/contrib

jamvm: update to 2.0.0 release

This commit is contained in:
John Vogel 2018-06-09 14:09:29 -04:00
parent e00e3d1074
commit 3036665656
4 changed files with 24 additions and 10 deletions

View File

@ -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

View File

@ -1 +1 @@
7654e9657691f5f09c4f481ed4686176 jamvm-1.5.4.tar.gz
a6e3321ef4b3cfb4afc20bd75452e11e jamvm-2.0.0.tar.gz

View File

@ -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

View File

@ -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
}