From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/sysprof/PKGBUILD | 28 ++++++++++++++++++++++++++++ community/sysprof/sysprof.install | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 community/sysprof/PKGBUILD create mode 100644 community/sysprof/sysprof.install (limited to 'community/sysprof') diff --git a/community/sysprof/PKGBUILD b/community/sysprof/PKGBUILD new file mode 100644 index 000000000..0def78052 --- /dev/null +++ b/community/sysprof/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 34968 2010-12-14 10:32:56Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Geoffroy Carrier +# Previous Contributor: Eric Belanger +# Previous Contributor: aeolist + +pkgname=sysprof +pkgver=1.1.6 +pkgrel=1 +pkgdesc="A sampling CPU profiler that uses a Linux kernel module to profile the entire system" +arch=('i686' 'x86_64') +url="http://www.daimi.au.dk/~sandmann/sysprof/" +license=("GPL") +source=(http://www.daimi.au.dk/~sandmann/$pkgname/$pkgname-$pkgver.tar.gz) +depends=('libglade' 'binutils') +makedepends=('libglade' 'binutils' 'kernel26-headers') +md5sums=('219f888777771f3709cb35a64bb008a9') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/sysprof/sysprof.install b/community/sysprof/sysprof.install new file mode 100644 index 000000000..489df2262 --- /dev/null +++ b/community/sysprof/sysprof.install @@ -0,0 +1,12 @@ +post_install() { + depmod -a +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + -- cgit v1.2.3-54-g00ecf