1 # Maintainer: Allan McRae <allan@archlinux.org>
3 pkgname=gcc-dragonegg-plugin
7 pkgdesc="integrates the LLVM optimizers and code generator with the GCC parsers"
9 url="http://dragonegg.llvm.org/"
11 depends=('gcc=4.6.2' 'llvm=3.0')
12 # Note: source PGP signature can not be verified as public key is not available...
13 source=(http://llvm.org/releases/3.0/dragonegg-3.0.tar.gz)
14 md5sums=('3704d215fb4343040eaff66a7a87c63a')
16 _plugindir=/usr/lib/gcc/${CHOST}/${_gccver}/plugin
19 cd $srcdir/dragonegg-${pkgver}.src/
20 sed -i "s#\$(shell svnversion -n \$(TOP_DIR))#$pkgver#" Makefile
25 cd $srcdir/dragonegg-${pkgver}.src/
26 install -Dm755 dragonegg.so $pkgdir/${_plugindir}/dragonegg.so