summaryrefslogtreecommitdiffstats
path: root/abs/core/libstatgrab/PKGBUILD
blob: a531c26e16a93016018394f8daf4905bdcf5d4f4 (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 22416 2010-07-21 18:45:21Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Hugo Ideler <hugoideler@dse.nl>

pkgname=libstatgrab
pkgver=0.16
pkgrel=2
pkgdesc="A library that provides cross platform access to statistics about the system on which it's run"
arch=('i686' 'x86_64')
url="http://www.i-scream.org/libstatgrab"
license=('LGPL' 'GPL')
depends=('ncurses' 'perl')
options=('!libtool' '!makeflags')
changelog=$pkgname.changelog
source=(http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/$pkgname-$pkgver.tar.gz)
md5sums=('77582438274679a9641d043ddcccdd4e')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make || return 1
}
package() {
  cd ${srcdir}/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install
}