updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jamvm / PKGBUILD
blob844574f80251cb7e4a1ddd9f588df03c519c41a0
1 # Maintainer: Samuel Tardieu <sam@rfc1149.net>
2 # Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
3 # Contributor: Roberto Alsina <ralsina@kde.org>
4 pkgname=jamvm
5 pkgver=1.5.4
6 pkgrel=1
7 pkgdesc="A Compact Java Virtual Machine which conforms to the JVM specification"
8 arch=('i686' 'x86_64')
9 url="http://jamvm.sourceforge.net/"
10 license=("GPL")
11 depends=(classpath zlib)
12 source=("http://downloads.sourceforge.net/sourceforge/jamvm/$pkgname-$pkgver.tar.gz")
13 md5sums=('7654e9657691f5f09c4f481ed4686176')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   ./configure --with-classpath-install-dir=/usr --prefix=/usr
18   make || return 1
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