1 # Maintainer: Samuel Tardieu <sam@rfc1149.net>
2 # Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
3 # Contributor: Roberto Alsina <ralsina@kde.org>
7 pkgdesc="A Compact Java Virtual Machine which conforms to the JVM specification"
9 url="http://jamvm.sourceforge.net/"
11 depends=(classpath zlib)
12 source=("http://downloads.sourceforge.net/sourceforge/jamvm/$pkgname-$pkgver.tar.gz")
13 md5sums=('7654e9657691f5f09c4f481ed4686176')
16 cd $startdir/src/$pkgname-$pkgver
17 ./configure --with-classpath-install-dir=/usr --prefix=/usr
19 make DESTDIR=$startdir/pkg install || exit 1
20 rm "$pkgdir"/usr/lib/libjvm.la
21 # Avoid conflict with classpath (which jamvm requires)
22 install -D $startdir/pkg/usr/include/jni.h $startdir/pkg/usr/include/jamvm/jni.h
23 rm $startdir/pkg/usr/include/jni.h