1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Sebastien Binet (binet@cern.ch)
7 pkgdesc="A highly interactive data analysis environment written in C++/Qt"
9 url="http://www.slac.stanford.edu/grp/ek/hippodraw/"
11 depends=('qt' 'boost' 'minuit2' 'cfitsio' 'python-numarray' 'python-pyfits')
13 source=(ftp://ftp.slac.stanford.edu/users/pfkeb/$pkgname/${pkgname^^[hd]}-$pkgver.tar.gz
15 md5sums=('d4b427b7469af5728951eab8c502074d'
16 '9d46527e305b3d30a6db73c9ea2821ee')
19 cd "$srcdir"/${pkgname^^[hd]}-$pkgver
22 sed -i "s_Minuit2Base_Minuit2_" configure
23 sed -i "s_/usr/include/cfitsio_/usr/include_" configure
24 patch -Np0 -i ../$pkgname.patch || return 1
27 LDFLAGS="-fopenmp" ./configure \
31 --with-qt4-include=/usr/include \
32 --with-qt4-lib=/usr/lib || return 1
36 make prefix="$pkgdir"/usr install || return 1