updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / sinfo / PKGBUILD
blob1aa43ebd3cd50e822b11db05b680acd96e2688bd
1 # Maintainer: Eric Hansen <ehansen at securityfor dot us>
2 pkgname=sinfo
3 pkgver=0.0.43
4 pkgrel=3
5 pkgdesc="A monitoring tool for networked computers."
6 url="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/"
7 source=(http://www.ant.uni-bremen.de/whomes/rinas/sinfo/download/${pkgname}-${pkgver}.tar.gz)
8 license=('GPL')
9 arch=('any')
10 depends=('boost' 'ncurses' 'asio')
11 md5sums=('f5d8e2e2eaa2dc07030793a303d815c0')
12 install='sinfo.install'
14 build() {
15         cd "${srcdir}/${pkgname}-${pkgver}"
16         LDFLAGS=
18         # sinfo requires boost_signals-mt (multithreaded), which doesn't exist in Arch...
19         msg "Fixing errorous linking in Makefiles..."
20         for i in ${srcdir}/${pkgname}-${pkgver}/sinfo*/Makefile.*; do
21                 mv $i $i.old
22                 sed 's/signals-mt/signals/g' $i.old > $i
23                 rm -rf $i.old
24         done
26         ./configure --prefix=/usr --with-ncurses
27         make || return 1
28         make DESTDIR="$pkgdir/" install