summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libgtop/PKGBUILD
blob: 1cfd6c0122b9beddb500817b31a10185bf3754e4 (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 24718 2009-01-20 09:57:05Z douglas $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libgtop
pkgver=2.24.3
pkgrel=1
pkgdesc="A library that read information about processes and the running system"
arch=(i686 x86_64)
license=('LGPL')
depends=('glib2>=2.18.4' 'libxau' 'texinfo')
install=libgtop.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool')
url="http://www.gnome.org/"
md5sums=('051de81fd37d33e7abee828fd4c12cba')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static \
	      --with-libgtop-smp --with-libgtop-inodedb \
	      --with-linux-table || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

  rm -f "${pkgdir}/usr/share/info/dir"
  gzip -9nf ${pkgdir}/usr/share/info/*
}