summaryrefslogtreecommitdiff
path: root/extra/oprofile/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/oprofile/PKGBUILD')
-rw-r--r--extra/oprofile/PKGBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/extra/oprofile/PKGBUILD b/extra/oprofile/PKGBUILD
index ab6f17e81..52adcf953 100644
--- a/extra/oprofile/PKGBUILD
+++ b/extra/oprofile/PKGBUILD
@@ -1,27 +1,25 @@
-# $Id: PKGBUILD 107149 2011-01-21 19:58:21Z eric $
+# $Id: PKGBUILD 135638 2011-08-16 21:35:38Z eric $
# Maintainer : Aaron Griffin <aaron@archlinux.org>
pkgname=oprofile
-pkgver=0.9.6
-pkgrel=3
+pkgver=0.9.7
+pkgrel=1
pkgdesc="A system-wide profiler for Linux systems, capable of profiling all running code at low overhead"
arch=('i686' 'x86_64' 'mips64el')
url="http://oprofile.sourceforge.net"
license=('GPL')
-depends=('popt')
-makedepends=('qt3')
-optdepends=('qt3: for oprof_start gui')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt')
+optdepends=('qt: for oprof_start gui')
options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('4e407093ac06200185d5a5e6437d7242')
-sha1sums=('cc62cc58c574e235bc146c8ddc9d9a9af0972fd1')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('8b5d1d9b65f84420bcc3234777ad3be3')
+sha1sums=('f5befd8aafc77d449e955f0585216f5d7b967de2')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --with-kernel-support \
- --with-x
+ ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
make
}
@@ -29,7 +27,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
-# installing development libraries
+# installing development libraries - FS#20089
install -m644 libutil/op_types.h libop/op_sample_file.h libutil/op_list.h libop/op_events.h libop/op_cpu_type.h libop/op_config.h libdb/odb.h "$pkgdir/usr/include"
install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"