diff options
author | root <root@rshg054.dnsready.net> | 2012-07-18 00:01:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-18 00:01:34 +0000 |
commit | 63d179775e063452db6358e15b9847e7fc6c84b6 (patch) | |
tree | 0082531329e5caae873c4eb5f1fbd41d2a98d938 /extra/oprofile | |
parent | 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (diff) |
Wed Jul 18 00:01:34 UTC 2012
Diffstat (limited to 'extra/oprofile')
-rw-r--r-- | extra/oprofile/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/oprofile/PKGBUILD b/extra/oprofile/PKGBUILD index 2bc5449c2..191577647 100644 --- a/extra/oprofile/PKGBUILD +++ b/extra/oprofile/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 141099 2011-10-23 23:25:40Z eric $ +# $Id: PKGBUILD 163607 2012-07-16 23:59:16Z eric $ # Maintainer : Aaron Griffin <aaron@archlinux.org> pkgname=oprofile pkgver=0.9.7 -pkgrel=3 +pkgrel=4 pkgdesc="A system-wide profiler for Linux systems, capable of profiling all running code at low overhead" arch=('i686' 'x86_64') url="http://oprofile.sourceforge.net" @@ -14,7 +14,6 @@ optdepends=('qt: for oprof_start gui') options=('!libtool') install=oprofile.install source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('8b5d1d9b65f84420bcc3234777ad3be3') sha1sums=('f5befd8aafc77d449e955f0585216f5d7b967de2') build() { @@ -23,13 +22,21 @@ build() { make } +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -d "$pkgdir/var/lib/oprofile" -# installing development libraries - FS#20089 - install -m644 libop/op_*.h libregex/op_*.h libutil/op_*.h libutil++/op_*.h libdb/odb.h "$pkgdir/usr/include" +# installing development libraries and headers - FS#20089 + install -d "$pkgdir/usr/include/oprofile" + install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \ + libpp/{locate_images.h,image_errors.h} libutil/op_*.h \ + libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} "$pkgdir/usr/include/oprofile" install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/" install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a" install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a" |