#Packager: Shador pkgname=pv pkgver=1.2.0 pkgrel=1ab source=("http://pipeviewer.googlecode.com/files/pv-$pkgver.tar.bz2") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "copying" "install" "news" "package" "todo" "version") url='http://www.ivarch.com/programs/pv.shtml' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Pipe Viewer)" "It's a terminal-based tool for monitoring the progress of data through" "a pipeline. It can be inserted into any normal pipeline between two" "processes to give a visual indication of how quickly data is passing" "through, how long it has taken, how near to completion it is, and an" "estimate of how long it will be until completion." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }