1 # Maintainer: Jens Staal <staal1978@gmail.com>
6 pkgdesc="A Java VM based on the LLVM virtual machine"
9 url="http://vmkit.llvm.org/index.html"
10 depends=('clang' 'classpath')
17 msg "checking out an LLVM source tree"
18 # Update the repo, else clone a new one
24 svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
30 msg "checking out VMKit"
31 # Update the repo, else clone a new one
37 svn co http://llvm.org/svn/llvm-project/vmkit/trunk vmkit
43 --with-llvmsrc=$srcdir/llvm \
44 --with-llvmobj=$srcdir/llvm \
45 --with-gnu-classpath-glibj=/usr/share/classpath/glibj.zip
51 mkdir -p $pkgdir/usr/bin
52 mkdir -p $pkgdir/usr/share/licenses/vmkit
54 make install exec_prefix=$pkgdir/usr datarootdir=$pkgdir/usr prefix=$pkgdir/usr
55 install -m644 $srcdir/vmkit/LICENSE.TXT $pkgdir/usr/share/licenses/vmkit/