2 #License:Non-profit Use License Agreement
7 pkgdesc="A package for evaluation of Feynman diagrams, integration over multi-particle phase space and event generation."
10 url="http://comphep.sinp.msu.ru"
11 depends=('lhapdf' 'root-stable')
12 install=comphep.install
13 source=("http://comphep.sinp.msu.ru/_media/download/$pkgname-$pkgver.tgz")
14 md5sums=('9b5afbe99912b2b9d9cc405aa60024b5')
17 INSTALLDIR=/opt/Science
19 if [ ! -d $pkgdir$INSTALLDIR ]
21 mkdir -p $pkgdir$INSTALLDIR
24 cp $startdir/$pkgname-$pkgver.tgz ./
25 tar xvpf $pkgname-$pkgver.tgz
26 mv $pkgname-$pkgver CompHEP
27 rm -f $pkgname-$pkgver.tgz
28 cd $pkgdir$INSTALLDIR/CompHEP
30 export LHAPDFPATH=/usr/lib/liblhapdf.a
33 ./configure --with-gcc4 --with-lhapdf --with-libxml --optimise --with-m64 --with-root || return 1