summaryrefslogtreecommitdiff
path: root/community/sysprof/PKGBUILD
blob: 65072e103858a72343502f540af8aa7640b369f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 56814 2011-10-13 17:07:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Previous Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Previous Contributor: aeolist <aeolist@hotmail.com>

pkgname=sysprof
pkgver=1.1.8
pkgrel=1
pkgdesc="A sampling CPU profiler that uses a Linux kernel module to profile the entire system"
arch=('i686' 'x86_64' 'mips64el')
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=('a46e24250988d96d8fc7b30773d55222')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}