1 # Contributor: lynix <lynix47@googlemail.com>
2 # Maintainer: lynix <lynix47@googlemail.com>
7 pkgdesc="The OpenMP Profiler ompP"
9 url='http://www.cs.utk.edu/~karl/ompp.html'
13 source=("http://www.cs.utk.edu/~karl/research/ompp/$pkgname-$pkgver.tgz")
14 md5sums=('571eedcbab7e48d04f1875806cfcac4c')
17 cd "$srcdir/$pkgname-$pkgver"
19 make INSTDIR=/usr OMPCC=gcc OMPFLAG=-fopenmp DOCDIR=/usr/share/doc
23 cd "$srcdir/$pkgname-$pkgver"
24 mkdir -p -m 755 $pkgdir/usr/{lib,bin,include,test}
25 cp opari/tool/opari $pkgdir/usr/bin
26 cp lib/libompp*.a $pkgdir/usr/lib
27 cp include/opari_omp.h $pkgdir/usr/include
28 cp include/pomp_lib.h $pkgdir/usr/include
29 cp kinst/kinst-ompp* $pkgdir/usr/bin
30 cp -r test/* $pkgdir/usr/test
31 chmod 755 $pkgdir/usr/bin/opari
32 chmod 755 $pkgdir/usr/bin/kinst-ompp*
33 chmod 644 $pkgdir/usr/lib/libompp*.a
34 chmod 644 $pkgdir/usr/include/pomp_lib.h
35 chmod 644 $pkgdir/usr/include/opari_omp.h
38 # vim:set ts=2 sw=2 et: